diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-05 23:04:23 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-05 23:04:23 -0700 |
commit | 10895ca5298dc71410cfd87fe8a28c4f976c2234 (patch) | |
tree | 0ad9e28c94e1e138c74811bc21ac9eb29cea940b | |
parent | 0350cf3cd85d0ca89d3a9fb1385d43350d3df9aa (diff) |
Undo the change added in e4eedbce2298535540cb651d75ba6f1bf42cf02b
which deactivates modules on upgrade. No idea why we did that, but it
breaks upgrading because it deactivates any module that's been
upgraded.
-rw-r--r-- | modules/gallery/helpers/module.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php index 12cec38c..5134c7b3 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -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); |