Skip to content
Snippets Groups Projects
Unverified Commit 65d7468b authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

check userExists later, saves lookups for appData_INSTANCEID userids

parent ffc627e1
No related branches found
No related tags found
No related merge requests found
...@@ -237,7 +237,7 @@ class Storage extends Wrapper { ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment