fixes wrong variable usage
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
31c3814b0a
commit
05f909dcf3
|
@ -624,9 +624,9 @@ class Access extends LDAPUtility implements IUserTools {
|
||||||
$this->connection->setConfiguration(['ldapCacheTTL' => $originalTTL]);
|
$this->connection->setConfiguration(['ldapCacheTTL' => $originalTTL]);
|
||||||
|
|
||||||
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
|
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
|
||||||
if(is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
|
if (is_string($altName) && $mapper->map($fdn, $altName, $uuid)) {
|
||||||
if($this->ncUserManager instanceof PublicEmitter && $isUser) {
|
if ($this->ncUserManager instanceof PublicEmitter && $isUser) {
|
||||||
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$intName]);
|
$this->ncUserManager->emit('\OC\User', 'assignedUserId', [$altName]);
|
||||||
}
|
}
|
||||||
$newlyMapped = true;
|
$newlyMapped = true;
|
||||||
return $altName;
|
return $altName;
|
||||||
|
|
Loading…
Reference in New Issue