diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 23:36:49 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 23:36:49 +0000 |
commit | 09acb61949e1051fc25e8fcf5936068415281802 (patch) | |
tree | 41006f6633590b7bf1718403590e0f2f3118d078 /engine/lib/widgets.php | |
parent | 10682a7e334c5f5e0d805c974007fc5518023986 (diff) | |
download | elgg-09acb61949e1051fc25e8fcf5936068415281802.tar.gz elgg-09acb61949e1051fc25e8fcf5936068415281802.tar.bz2 |
simplified admin menu registration function in preparation for adding sections
git-svn-id: http://code.elgg.org/elgg/trunk@8500 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 7c0867548..cd8b657f3 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', elgg_echo('admin:appearance:default_widgets'), 'appearance', 30); + elgg_add_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'); |