diff options
author | shadlaws <shad@shadlaws.com> | 2013-03-05 16:54:41 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-03-05 16:54:41 +0100 |
commit | 4b28478776071bf764545de767b70939484519aa (patch) | |
tree | 05f9cf95751f86beda6a994968489f65683ee942 /modules/gallery/controllers | |
parent | 24475e914ffb5f639f35b500e29b2743cf2216c7 (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')
-rw-r--r-- | modules/gallery/controllers/admin_maintenance.php | 1 |
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(); } /** |