diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-12-01 11:47:56 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-12-01 11:47:56 +0100 |
commit | 65d7468bf3c15c7983d9d8e4e73513ffa1d8b973 (patch) | |
tree | 3f3ac664aa5339a647bc1fb8c1370b735142f91e /apps/files_trashbin/lib | |
parent | ffc627e18e6398ec1dac75e7b72abde52434ff74 (diff) | |
download | nextcloud-server-65d7468bf3c15c7983d9d8e4e73513ffa1d8b973.tar.gz nextcloud-server-65d7468bf3c15c7983d9d8e4e73513ffa1d8b973.zip |
check userExists later, saves lookups for appData_INSTANCEID userids
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r-- | apps/files_trashbin/lib/Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 1193d6ec561..5eaf502f236 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -237,7 +237,7 @@ class Storage extends Wrapper { return false; } - if ($this->userManager->userExists($parts[1]) && $parts[2] === 'files') { + if ($parts[2] === 'files' && $this->userManager->userExists($parts[1])) { return true; } |