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.

This commit is contained in:
Tim Almdal
2010-01-22 12:30:17 -08:00
parent dabd5b84b2
commit df313cac56
4 changed files with 7 additions and 7 deletions
@@ -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.");