remove frequent, unimportant log message

Fixes #2585

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2016-12-19 23:35:56 +01:00
parent 084bddf8ae
commit 7887566cff
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 0 additions and 5 deletions

View File

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