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:
Bharat Mediratta
2010-06-05 23:04:23 -07:00
parent 0350cf3cd8
commit 10895ca529
-7
View File
@@ -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);