summaryrefslogtreecommitdiffstats
path: root/lib/private/User
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-15 23:49:16 +0200
committerGitHub <noreply@github.com>2020-04-15 23:49:16 +0200
commitcbcf072b23970790065e0df4a43492e1affa4bf7 (patch)
treebaa670942b4243b62c297a1fa1a0141114c12fda /lib/private/User
parent48a8f0a464bb4e3e2503688ef50be78b7c30b9e3 (diff)
downloadnextcloud-server-cbcf072b23970790065e0df4a43492e1affa4bf7.tar.gz
nextcloud-server-cbcf072b23970790065e0df4a43492e1affa4bf7.zip
Revert "Make sure MySQL is not saying 'this' = 'this ' is true"
Diffstat (limited to 'lib/private/User')
-rw-r--r--lib/private/User/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index e55d4395191..303050a7716 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -188,7 +188,7 @@ class Manager extends PublicEmitter implements IUserManager {
*/
public function userExists($uid) {
$user = $this->get($uid);
- return $user !== null && $user->getUID() === $uid;
+ return ($user !== null);
}
/**