diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-06-01 16:02:04 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-06-01 16:02:38 +0200 |
commit | e58efd78777d3f1955aabcc4ff35c44595f3489d (patch) | |
tree | fa7fef50a51244287f568aa115b6f874214eda71 /apps/user_ldap/group_ldap.php | |
parent | ad6562d14fabb0822e197e2ed70e4a3f8c02e23f (diff) | |
download | nextcloud-server-e58efd78777d3f1955aabcc4ff35c44595f3489d.tar.gz nextcloud-server-e58efd78777d3f1955aabcc4ff35c44595f3489d.zip |
LDAP group backend: Set configured true when it is... fixe oc-887
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r-- | apps/user_ldap/group_ldap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php index 2c16bf312f8..baca1d32bad 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -31,8 +31,8 @@ class OC_GROUP_LDAP extends OC_Group_Backend { $this->ldapGroupFilter = OCP\Config::getAppValue('user_ldap', 'ldap_group_filter', '(objectClass=posixGroup)'); $this->ldapGroupMemberAssocAttr = OCP\Config::getAppValue('user_ldap', 'ldap_group_member_assoc_attribute', 'uniqueMember'); - if(empty($this->ldapGroupFilter) || empty($this->ldapGroupMemberAssocAttr)) { - $this->configured = false; + if(!empty($this->ldapGroupFilter) && !empty($this->ldapGroupMemberAssocAttr)) { + $this->configured = true; } } |