diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-30 01:45:29 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-30 01:45:29 -0700 |
commit | 1559539993100b354431b83a01310cb70a9298b4 (patch) | |
tree | 1805479c26ad44702797d51bec5b630f90490a50 /modules/gallery/helpers | |
parent | f660eb55aa9535c10f91ad2812fa073589fcae2b (diff) | |
parent | 120088140cbd81ca86f9986bc3286fbd89957970 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_menu.php | 9 |
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") |