check userExists later, saves lookups for appData_INSTANCEID userids
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
ffc627e18e
commit
65d7468bf3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue