summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery_menu.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/gallery/helpers/gallery_menu.php b/modules/gallery/helpers/gallery_menu.php
index 1f5151a3..0f0e676d 100644
--- a/modules/gallery/helpers/gallery_menu.php
+++ b/modules/gallery/helpers/gallery_menu.php
@@ -20,15 +20,6 @@
class gallery_menu_Core {
static function site($menu, $theme) {
$is_admin = user::active()->admin;
- if (file_exists(MODPATH . "gallery/controllers/scaffold.php") && $is_admin) {
- $menu->append($scaffold_menu = Menu::factory("submenu")
- ->id("scaffold")
- ->label("Scaffold"));
- $scaffold_menu->append(Menu::factory("link")
- ->id("scaffold_home")
- ->label("Dashboard")
- ->url(url::site("scaffold")));
- }
$menu->append(Menu::factory("link")
->id("home")