summaryrefslogtreecommitdiff
path: root/modules/akismet/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-17 21:42:31 +0800
committer <unostar@danalan.info>2009-06-18 16:29:41 +0800
commit9af8027cf30e346b8cf42ade14efee39a8221b0d (patch)
tree8cc3b8740896e9640fb0dbd2e6fdda3194d90a96 /modules/akismet/helpers
parente2863cf1c568b2e88d6c08fa67800a13cd4bd067 (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 Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r--modules/akismet/helpers/akismet_menu.php6
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")