diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-03 23:45:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 23:45:31 +0100 |
commit | 19280adc0d360e546d49e07bb4866e6e756fcbdb (patch) | |
tree | 171d4e9aed97debfe0072b5acfbd507dd7a99f9c /lib | |
parent | 5011142024a2563ac162e17417dd9b7edcae0ff5 (diff) | |
parent | e9eccf34f9258a3720afb3cde218275f4b35f884 (diff) | |
download | nextcloud-server-19280adc0d360e546d49e07bb4866e6e756fcbdb.tar.gz nextcloud-server-19280adc0d360e546d49e07bb4866e6e756fcbdb.zip |
Merge pull request #7611 from nextcloud/fix-7445
Don't attempt to translate login names to uids when uids are provided
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/User/Manager.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index c77e0ac89e1..5f2a010561c 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -152,16 +152,6 @@ class Manager extends PublicEmitter implements IUserManager { return $this->cachedUsers[$uid]; } - if (method_exists($backend, 'loginName2UserName')) { - $loginName = $backend->loginName2UserName($uid); - if ($loginName !== false) { - $uid = $loginName; - } - if (isset($this->cachedUsers[$uid])) { - return $this->cachedUsers[$uid]; - } - } - $user = new User($uid, $backend, $this, $this->config); if ($cacheUser) { $this->cachedUsers[$uid] = $user; |