fixes wrong variable usage

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2018-10-26 18:01:57 +02:00
parent 31c3814b0a
commit 05f909dcf3
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 3 additions and 3 deletions

View File

@ -626,7 +626,7 @@ class Access extends LDAPUtility implements IUserTools {
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
if (is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
if ($this->ncUserManager instanceof PublicEmitter && $isUser) {
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$intName]);
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$altName]);
}
$newlyMapped = true;
return $altName;