summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/module.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-06-06 15:45:03 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-06-06 15:45:03 -0700
commit097ef934c6fe188cc368905ee72b7cca6ad2f755 (patch)
tree75e92a4edf717f2a6828a802f45485af06af3c71 /modules/gallery/helpers/module.php
parentc4d85721fc0a3b9aad45451fb917d6e23b804c05 (diff)
parentaeee88031fed7029c3320800d237b69993e8b6d4 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/module.php')
-rw-r--r--modules/gallery/helpers/module.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php
index 18d65ed5..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'it deactivae 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);