public static function riverMenuSetup($hook, $type, $return, $params) {

		if (!elgg_is_logged_in()) {
			return $return;
		}

		$remove = array('comment');
		foreach ($return as $key => $item) {
			if ($item instanceof ElggMenuItem&& in_array($item->getName(), $remove)) {
				unset($return[$key]);
			}
		}

		return $return;
	}