summaryrefslogtreecommitdiff
path: root/core/hooks
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-02 20:37:45 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-02 20:37:45 +0000
commit5950f492106a5927c3d3a6bffe8ed92a0fee8f9d (patch)
tree417673b4e595a34869a2bc25d5e1e895edaa79cb /core/hooks
parentb4c9a970502c491840d640857ee1617e86207ffd (diff)
Rename core helper to gallery helper to indicate that it's more of an app-wide helper. 'core' doesn't make as much sense
Diffstat (limited to 'core/hooks')
-rw-r--r--core/hooks/init_gallery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hooks/init_gallery.php b/core/hooks/init_gallery.php
index 536d8c64..58511edf 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("core", "maintenance_mode"));
+Event::add("system.post_routing", array("gallery", "maintenance_mode"));
// Override the cookie if we have a session id in the URL.
// @todo This should probably be an event callback