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:
parent
b0270cf722
commit
68b290be51
|
@ -18,7 +18,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
class ldap_installer {
|
||||
static function check_environment() {
|
||||
static function can_activate() {
|
||||
$messages = array();
|
||||
if (array_search("ldap", get_loaded_extensions()) === false) {
|
||||
$messages["error"][] =
|
||||
|
|
Reference in New Issue
Block a user