summaryrefslogtreecommitdiff
path: root/modules/gallery/hooks
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 07:15:00 +0800
committerGallery Role Account <gallery@menalto.com>2009-05-28 11:07:09 +0800
commit4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch)
tree6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery/hooks
parent3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (diff)
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs. Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/hooks')
-rw-r--r--modules/gallery/hooks/init_gallery.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/hooks/init_gallery.php b/modules/gallery/hooks/init_gallery.php
index 2c36795a..5735e7dc 100644
--- a/modules/gallery/hooks/init_gallery.php
+++ b/modules/gallery/hooks/init_gallery.php
@@ -26,11 +26,11 @@ if (!file_exists(VARPATH . "database.php")) {
Event::add("system.ready", array("I18n", "instance"));
Event::add("system.ready", array("module", "load_modules"));
-Event::add("system.ready", array("core", "ready"));
+Event::add("system.ready", array("gallery", "ready"));
Event::add("system.post_routing", array("theme", "load_themes"));
Event::add("system.post_routing", array("url", "parse_url"));
-Event::add("system.post_routing", array("core", "maintenance_mode"));
-Event::add("system.shutdown", array("core", "shutdown"));
+Event::add("system.post_routing", array("gallery", "maintenance_mode"));
+Event::add("system.shutdown", array("gallery", "shutdown"));
// Override the cookie if we have a session id in the URL.
// @todo This should probably be an event callback