summaryrefslogtreecommitdiff
path: root/modules/gallery/hooks/init_gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/hooks/init_gallery.php')
-rw-r--r--modules/gallery/hooks/init_gallery.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/hooks/init_gallery.php b/modules/gallery/hooks/init_gallery.php
index da7eeb0f..b2d9c4de 100644
--- a/modules/gallery/hooks/init_gallery.php
+++ b/modules/gallery/hooks/init_gallery.php
@@ -27,7 +27,6 @@ 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("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("gallery", "maintenance_mode"));
Event::add("system.shutdown", array("gallery", "shutdown"));