diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-22 12:30:17 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-22 12:30:17 -0800 |
commit | df313cac567bee77f5a73308381fe67dcac9b92c (patch) | |
tree | ee3c72b035d3d9f9d7d005de6fc32128994e7f12 /modules/slideshow | |
parent | dabd5b84b21c711592a1f3bcd2ca298dd6d7fde2 (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')
-rw-r--r-- | modules/slideshow/helpers/slideshow_installer.php | 2 |
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."); |