diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-03-24 21:08:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 21:08:15 +0100 |
commit | a7e778b57fb81c8e62d093ece7f0689d34db4c45 (patch) | |
tree | f50492f0380bb21d0cce095231c2560f77b00d36 /apps/dav | |
parent | 00076c07098dbff236d133998de03bee8d4fec33 (diff) | |
parent | 91ab4e1df4f3e234c5e4941d89cf0d9f19166c18 (diff) | |
download | nextcloud-server-a7e778b57fb81c8e62d093ece7f0689d34db4c45.tar.gz nextcloud-server-a7e778b57fb81c8e62d093ece7f0689d34db4c45.zip |
Merge pull request #31265 from nextcloud/fs-limited-setup
Fine grained filesystem setup
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Auth.php | 1 | ||||
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ServerFactory.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php index 71e833809ac..df4e3c65ce0 100644 --- a/apps/dav/lib/Connector/Sabre/Auth.php +++ b/apps/dav/lib/Connector/Sabre/Auth.php @@ -235,7 +235,6 @@ class Auth extends AbstractBasic { \OC_User::handleApacheAuth() ) { $user = $this->userSession->getUser()->getUID(); - \OC_Util::setupFS($user); $this->currentUser = $user; $this->session->close(); return [true, $this->principalPrefix . $user]; diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php index ff96b7a19c5..095fb631c2b 100644 --- a/apps/dav/lib/Connector/Sabre/ServerFactory.php +++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php @@ -31,7 +31,7 @@ */ namespace OCA\DAV\Connector\Sabre; -use OC\Files\Node\Folder; +use OCP\Files\Folder; use OCA\DAV\AppInfo\PluginManager; use OCA\DAV\Files\BrowserErrorPagePlugin; use OCP\Files\Mount\IMountManager; |