aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-22 13:31:19 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-22 13:31:19 +0000
commita140ef9c53edb2e249eab2eafccc6eb8c0952dab (patch)
tree84e077e486a56a115a0defb8667f5409456ab470 /mod/profile/start.php
parentc8e1a99c0388710806012eaad59e700c0667a4d1 (diff)
downloadelgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.gz
elgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.bz2
Updated avatar menu: Removed links to tools, provided a view to extend menu, added @username to menu, cleaned-up and simplified menu generation.
git-svn-id: http://code.elgg.org/elgg/trunk@5467 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index bb2f3d5cc..e66554d08 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -48,15 +48,6 @@ function profile_init() {
elgg_extend_view('css', 'profile/css');
elgg_extend_view('js/initialise_elgg', 'profile/javascript');
- if (get_context() == 'profile') {
- elgg_extend_view('canvas_header/submenu', 'profile/submenu');
- }
-
- // Extend context menu with admin links
- if (isadminloggedin()){
- elgg_extend_view('profile/menu/links', 'profile/menu/adminwrapper', 10000);
- }
-
// Now override icons
register_plugin_hook('entity:icon:url', 'user', 'profile_usericon_hook');