mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-30 02:46:19 -04:00
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:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user