remove frequent, unimportant log message
Fixes #2585 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
084bddf8ae
commit
7887566cff
|
@ -327,11 +327,6 @@ class Connection extends LDAPUtility {
|
||||||
foreach(array('ldapBaseUsers', 'ldapBaseGroups') as $keyBase) {
|
foreach(array('ldapBaseUsers', 'ldapBaseGroups') as $keyBase) {
|
||||||
$val = $this->configuration->$keyBase;
|
$val = $this->configuration->$keyBase;
|
||||||
if(empty($val)) {
|
if(empty($val)) {
|
||||||
$obj = strpos('Users', $keyBase) !== false ? 'Users' : 'Groups';
|
|
||||||
\OCP\Util::writeLog('user_ldap',
|
|
||||||
'Base tree for '.$obj.
|
|
||||||
' is empty, using Base DN',
|
|
||||||
\OCP\Util::INFO);
|
|
||||||
$this->configuration->$keyBase = $this->configuration->ldapBase;
|
$this->configuration->$keyBase = $this->configuration->ldapBase;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue