diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 01:50:30 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 01:50:30 +0000 |
commit | 34e7b634e6f9200683c5c5d6662f4e8ebd9a5d70 (patch) | |
tree | 7143a5727d76f8d475408111ad13f11378869a49 /engine/lib/widgets.php | |
parent | b8a77c554c4d994ff74ad62149de2416ab53dccb (diff) | |
download | elgg-34e7b634e6f9200683c5c5d6662f4e8ebd9a5d70.tar.gz elgg-34e7b634e6f9200683c5c5d6662f4e8ebd9a5d70.tar.bz2 |
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
Diffstat (limited to 'engine/lib/widgets.php')
-rw-r--r-- | engine/lib/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php index cd8b657f3..53b4a3309 100644 --- a/engine/lib/widgets.php +++ b/engine/lib/widgets.php @@ -288,7 +288,7 @@ function elgg_default_widgets_init() { $CONFIG->default_widget_info = $default_widgets; if ($default_widgets) { - elgg_add_admin_menu_item('default_widgets', 'appearance', 30); + elgg_register_admin_menu_item('default_widgets', 'appearance', 30); // override permissions for creating widget on logged out / just created entities elgg_register_plugin_hook_handler('container_permissions_check', 'object', 'elgg_default_widgets_permissions_override'); |