mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Undo the change added in e4eedbce22
which deactivates modules on upgrade. No idea why we did that, but it breaks upgrading because it deactivates any module that's been upgraded.
This commit is contained in:
@@ -214,13 +214,6 @@ class module_Core {
|
||||
throw new Exception("@todo UNKNOWN_MODULE");
|
||||
}
|
||||
}
|
||||
|
||||
// Now the module is upgraded so deactivate it, but we can't deactivate gallery or the
|
||||
// current identity provider.
|
||||
$identity_provider = module::get_var("gallery", "identity_provider", "user");
|
||||
if (!in_array($module_name, array("gallery", $identity_provider)) ) {
|
||||
self::deactivate($module_name);
|
||||
}
|
||||
module::load_modules();
|
||||
|
||||
$version_after = module::get_version($module_name);
|
||||
|
||||
Reference in New Issue
Block a user