summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-29 08:50:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-29 08:50:53 -0700
commit89a67dba63f8ac61b90e4c4f1ba1b0cdbdf20b26 (patch)
treeed84babb850c47dd4bbbb07e802aa5d2d68f1f77 /modules/gallery/libraries/Theme_View.php
parentdd5471b8600a9a6efbfbfab81972db59e512493a (diff)
* Remove the @todo in module event and always try to call gallery_event::$function first
* Refactor gallery.php to move site_menu, admin_menu, and context_menu to gallery_event.php * Change Theme_View and Admin_view to call module::event("site_menu|admin_menu|context_menu"...)
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index ebd6a920..728e8bf9 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -80,7 +80,6 @@ class Theme_View_Core extends Gallery_View {
public function site_menu() {
$menu = Menu::factory("root");
- gallery::site_menu($menu, $this);
module::event("site_menu", $menu, $this);
return $menu->compact();
}
@@ -124,7 +123,6 @@ class Theme_View_Core extends Gallery_View {
->label(t("Options")))
->css_class("gContextMenu");
- gallery::context_menu($menu, $this, $item, $thumbnail_css_selector);
module::event("context_menu", $menu, $this, $item, $thumbnail_css_selector);
return $menu->compact();
}