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