mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #7577 from nextcloud/7361_12
[stable12] check userExists later, saves lookups for appData_INSTANCEID userids
This commit is contained in:
commit
4ed99dd54b
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,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 a new issue