mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 03:04:35 -04:00
Merge pull request #32141 from nextcloud/backport/32084/stable24
[stable24] only need to setup root for groupfolders
This commit is contained in:
commit
dd93df22f4
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