diff options
author | tim almdal <tnalmdal@shaw.ca> | 2009-05-29 21:53:49 -0700 |
---|---|---|
committer | tim almdal <tnalmdal@shaw.ca> | 2009-05-29 21:53:49 -0700 |
commit | f0104ee43bacf1cd532195f802be581d4c428f24 (patch) | |
tree | aafe4e82c33d63bf3594b39b424ad060172171a2 /modules/gallery/helpers | |
parent | ce285b8feba2f9c495fb153517c2a582421f50e0 (diff) |
remove scaffolding code
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") |