summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_maintenance.php
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-03-05 16:54:41 +0100
committershadlaws <shad@shadlaws.com>2013-03-05 16:54:41 +0100
commit4b28478776071bf764545de767b70939484519aa (patch)
tree05f9cf95751f86beda6a994968489f65683ee942 /modules/gallery/controllers/admin_maintenance.php
parent24475e914ffb5f639f35b500e29b2743cf2216c7 (diff)
#2040 - Deactivate modules that no longer exist.
- added module::deactivate_missing_modules() - revised module::deactivate() to change log message if the module is missing - added call to new function in module::get_obsolete_modules_message() - added call to new function when loading admin/maintenance menu
Diffstat (limited to 'modules/gallery/controllers/admin_maintenance.php')
-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();
}
/**