Merge branch 'stable4' of gitorious.org:owncloud/owncloud into stable4

This commit is contained in:
Frank Karlitschek 2012-06-01 16:34:52 +02:00
commit 2c97f4788b
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}