summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 24dea729..a5f5db03 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -118,9 +118,8 @@ class Theme_View_Core extends Gallery_View {
->label(t("Options")))
->css_class("gContextMenu");
- $page_type = Input::instance()->get("page_type");
- gallery::context_menu($menu, $this, $item, $page_type);
- module::event("context_menu", $menu, $this, $item, $page_type);
+ gallery::context_menu($menu, $this, $item);
+ module::event("context_menu", $menu, $this, $item);
return $menu->compact();
}