summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_installer.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/slideshow/helpers/slideshow_installer.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/slideshow/helpers/slideshow_installer.php')
-rw-r--r--modules/slideshow/helpers/slideshow_installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/slideshow/helpers/slideshow_installer.php b/modules/slideshow/helpers/slideshow_installer.php
index 319e2e79..8d612f3e 100644
--- a/modules/slideshow/helpers/slideshow_installer.php
+++ b/modules/slideshow/helpers/slideshow_installer.php
@@ -34,7 +34,7 @@ class slideshow_installer {
site_status::clear("slideshow_needs_rss");
}
- static function check_environment() {
+ static function can_activate() {
$messages = array();
if (!module::is_active("rss")) {
$messages["warn"][] = t("The Slideshow module requires the RSS module.");