From 34e7b634e6f9200683c5c5d6662f4e8ebd9a5d70 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 1 Mar 2011 01:50:30 +0000 Subject: Fixes #3014 using more standard "register" in admin convenience function git-svn-id: http://code.elgg.org/elgg/trunk@8520 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/developers/start.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/developers/start.php') diff --git a/mod/developers/start.php b/mod/developers/start.php index 5dc4cb2b8..8f437e317 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -18,9 +18,9 @@ function developers_init() { function developers_setup_menu() { if (elgg_in_context('admin')) { - elgg_add_admin_menu_item('developers'); - elgg_add_admin_menu_item('settings', 'developers'); - elgg_add_admin_menu_item('preview', 'developers'); + elgg_register_admin_menu_item('developers'); + elgg_register_admin_menu_item('settings', 'developers'); + elgg_register_admin_menu_item('preview', 'developers'); } } -- cgit v1.2.3