diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-17 06:42:31 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-17 06:42:31 -0700 |
commit | 5b767b6443011031190ce2d7580dca2d6dc33e19 (patch) | |
tree | 4420be728dc57ea2d356038c2a972ae4e594ba0d /modules/akismet/helpers | |
parent | fbefdd55564d2c14e0a4602784abcc51f0279edf (diff) |
Fix for ticket #366
Move the creation of the setting menu back to gallery_menu::admin, now that
there is a mechanism to remove empty menu items
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r-- | modules/akismet/helpers/akismet_menu.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/akismet/helpers/akismet_menu.php b/modules/akismet/helpers/akismet_menu.php index 2862fd40..ebd948d6 100644 --- a/modules/akismet/helpers/akismet_menu.php +++ b/modules/akismet/helpers/akismet_menu.php @@ -26,12 +26,6 @@ class akismet_menu_Core { ->url(url::site("admin/akismet"))); if (module::get_var("akismet", "api_key")) { - if (!$statistics_menu = $menu->get("statistics_menu")) { - $menu->append(Menu::factory("submenu") - ->id("statistics_menu") - ->label(t("Statistics"))); - } - $menu->get("statistics_menu") ->append(Menu::factory("link") ->id("akismet") |