summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_modules.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-22 12:30:17 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-22 12:30:17 -0800
commitdf313cac567bee77f5a73308381fe67dcac9b92c (patch)
treeee3c72b035d3d9f9d7d005de6fc32128994e7f12 /modules/gallery/controllers/admin_modules.php
parentdabd5b84b21c711592a1f3bcd2ca298dd6d7fde2 (diff)
Change the check_environment method in the module helper and the module installers to can_activate to reflect that it is doing more than just checking the environment.
Diffstat (limited to 'modules/gallery/controllers/admin_modules.php')
-rw-r--r--modules/gallery/controllers/admin_modules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_modules.php b/modules/gallery/controllers/admin_modules.php
index 46defbef..a2168280 100644
--- a/modules/gallery/controllers/admin_modules.php
+++ b/modules/gallery/controllers/admin_modules.php
@@ -42,7 +42,7 @@ class Admin_Modules_Controller extends Admin_Controller {
if ($info->active && !$desired && module::is_active($module_name)) {
$messages = array_merge($messages, module::can_deactivate($module_name));
} else if (!$info->active && $desired && !module::is_active($module_name)) {
- $messages = array_merge($messages, module::check_environment($module_name));
+ $messages = array_merge($messages, module::can_activate($module_name));
}
}