summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-03-05 08:51:43 -0800
committerBharat Mediratta <bharat@menalto.com>2013-03-05 08:51:43 -0800
commit7fd7b10108b8edca232d6eb387669189383b52ea (patch)
tree015404150d3810d7538de147d3a0e8f3742605df /modules/gallery/controllers
parente630ab9bdc45cbb9ebd7db8fd280cb898fe6f291 (diff)
parent4b28478776071bf764545de767b70939484519aa (diff)
Merge pull request #190 from shadlaws/fix_2040
#2040 - Deactivate modules that no longer exist.
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r--modules/gallery/controllers/admin_maintenance.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_maintenance.php b/modules/gallery/controllers/admin_maintenance.php
index 23df33ee..32f20784 100644
--- a/modules/gallery/controllers/admin_maintenance.php
+++ b/modules/gallery/controllers/admin_maintenance.php
@@ -55,6 +55,7 @@ class Admin_Maintenance_Controller extends Admin_Controller {
->where("expiration", "<>", 0)
->where("expiration", "<=", time())
->execute();
+ module::deactivate_missing_modules();
}
/**