Browse Source

Merge pull request #32084 from nextcloud/root-setup-groupfolders

only need to setup root for groupfolders
tags/v25.0.0beta1
Vincent Petry 2 years ago
parent
commit
6935baa568
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      lib/private/Files/SetupManager.php

+ 3
- 1
lib/private/Files/SetupManager.php View File

@@ -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…
Cancel
Save