Skip to content
Snippets Groups Projects
Commit 8be8f6ff authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: Remove unnecessary debug output, fixes a Notice

parent e5cbc532
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,6 @@ abstract class Access {
//a new user/group! Then let's try to add it. We're shooting into the blue with the user/group name, assuming that in most cases there will not be a conflict. Otherwise an error will occur and we will continue with our second shot.
if(($isUser && !\OCP\User::userExists($ldapname)) || (!$isUser && !\OC_Group::groupExists($ldapname))) {
if($this->mapComponent($dn, $ldapname, $isUser)) {
\OCP\Util::writeLog('user_ldap', 'Username '.ldapname.' OK.', \OCP\Util::DEBUG);
return $ldapname;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment