From 33d589650db886fa580aa5bd47672a71bb4fc4c0 Mon Sep 17 00:00:00 2001 From: nickw Date: Fri, 21 May 2010 21:53:49 +0000 Subject: Registering new plugin hooks to extend the owner block profile menu. git-svn-id: http://code.elgg.org/elgg/trunk@6130 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index a257a90ac..b8a26fab5 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -79,13 +79,6 @@ add_submenu_item(sprintf(elgg_echo("file:group"),$page_owner->name), $CONFIG->wwwroot . "pg/file/" . $page_owner->username); } } - - if ($page_owner instanceof ElggEntity) { - elgg_add_submenu_item(array( - 'text' => elgg_echo('file'), - 'href' => "{$CONFIG->url}pg/file/{$page_owner->username}", - )); - } } /** -- cgit v1.2.3