check userExists later, saves lookups for appData_INSTANCEID userids

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-12-01 11:47:56 +01:00
parent ffc627e18e
commit 65d7468bf3
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class Storage extends Wrapper {
return false; return false;
} }
if ($this->userManager->userExists($parts[1]) && $parts[2] === 'files') { if ($parts[2] === 'files' && $this->userManager->userExists($parts[1])) {
return true; return true;
} }