diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 11:58:33 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 11:58:33 +0100 |
commit | d7232557d99e5f237d6bc2ee5be7e5eace68b7cc (patch) | |
tree | ab3bd5112a78f1a1c9a3c4326ecc2d174bc9b0c1 /apps | |
parent | 9d99049107109cb7f14b46c77a97f7cd70a1ec82 (diff) | |
parent | a394c1887f82af41226b9511a52506b249e995ed (diff) | |
download | nextcloud-server-d7232557d99e5f237d6bc2ee5be7e5eace68b7cc.tar.gz nextcloud-server-d7232557d99e5f237d6bc2ee5be7e5eace68b7cc.zip |
Merge pull request #20422 from owncloud/fix-20421-master
Ensure the user folder exists
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/sabre/serverfactory.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/connector/sabre/serverfactory.php b/apps/dav/lib/connector/sabre/serverfactory.php index b62f90ab802..f67e949e802 100644 --- a/apps/dav/lib/connector/sabre/serverfactory.php +++ b/apps/dav/lib/connector/sabre/serverfactory.php @@ -78,6 +78,9 @@ class ServerFactory { // wait with registering these until auth is handled and the filesystem is setup $server->on('beforeMethod', function () use ($server, $objectTree, $viewCallBack) { + // ensure the skeleton is copied + \OC::$server->getUserFolder(); + /** @var \OC\Files\View $view */ $view = $viewCallBack(); $rootInfo = $view->getFileInfo(''); |