summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc b/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc
index eb60148..307aadf 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_authentication/ldap_authentication.admin.inc
@@ -45,7 +45,7 @@ function ldap_authentication_admin_form_submit($form, &$form_state) {
$auth_conf = new LdapAuthenticationConfAdmin();
$auth_conf->drupalFormSubmit($form_state['values']); // add form data to object and save or create
- if (!$auth_conf->enabled_servers()) {
+ if (!$auth_conf->hasEnabledAuthenticationServers()) {
drupal_set_message(t('No LDAP servers are enabled for authentication,
so no LDAP Authentication can take place. This essentially disables
LDAP Authentication.'), 'warning');