mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Only need to setup root for groupfolders
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
ff64a731b0
commit
aae1769e60
1 changed files with 3 additions and 1 deletions
|
|
@ -344,7 +344,9 @@ class SetupManager {
|
|||
* @return IUser|null
|
||||
*/
|
||||
private function getUserForPath(string $path) {
|
||||
if (substr_count($path, '/') < 2) {
|
||||
if (strpos($path, '/__groupfolders') === 0) {
|
||||
return null;
|
||||
} elseif (substr_count($path, '/') < 2) {
|
||||
if ($user = $this->userSession->getUser()) {
|
||||
return $user;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue