From 4b790f5b76dd1258cdd571a59a45681bfc1f9dab Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 2 May 2009 20:49:09 +0000 Subject: Revert r20668; if we call our helper 'gallery' then it interferes with g2_import since it uses the Gallery2 embed interface which loads up G2's Gallery class as well. Grumble. --- core/hooks/init_gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/hooks') diff --git a/core/hooks/init_gallery.php b/core/hooks/init_gallery.php index 58511edf..536d8c64 100644 --- a/core/hooks/init_gallery.php +++ b/core/hooks/init_gallery.php @@ -27,7 +27,7 @@ Event::add("system.post_routing", array("theme", "load_themes")); Event::add("system.ready", array("module", "load_modules")); Event::add("system.post_routing", array("url", "parse_url")); Event::add("system.shutdown", array("module", "shutdown")); -Event::add("system.post_routing", array("gallery", "maintenance_mode")); +Event::add("system.post_routing", array("core", "maintenance_mode")); // Override the cookie if we have a session id in the URL. // @todo This should probably be an event callback -- cgit v1.2.3