diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-10-26 18:01:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-10-26 18:03:41 +0200 |
commit | 05f909dcf35878829b243de63eabd5d0f0fe3fc9 (patch) | |
tree | 1a34b76cbadf05e3e31dd60d1cc47b4976b0fbdc /apps/user_ldap | |
parent | 31c3814b0a3d33a25f4fbcc8777037f8c6c14533 (diff) | |
download | nextcloud-server-05f909dcf35878829b243de63eabd5d0f0fe3fc9.tar.gz nextcloud-server-05f909dcf35878829b243de63eabd5d0f0fe3fc9.zip |
fixes wrong variable usage
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/Access.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index e05bc539a77..d0d51ae8c85 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -624,9 +624,9 @@ class Access extends LDAPUtility implements IUserTools { $this->connection->setConfiguration(['ldapCacheTTL' => $originalTTL]); $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]); + if (is_string($altName) && $mapper->map($fdn, $altName, $uuid)) { + if ($this->ncUserManager instanceof PublicEmitter && $isUser) { + $this->ncUserManager->emit('\OC\User', 'assignedUserId', [$altName]); } $newlyMapped = true; return $altName; |