diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 10:07:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 10:07:46 +0100 |
commit | a394c1887f82af41226b9511a52506b249e995ed (patch) | |
tree | fd2d3c916733430f8d343ed802479dc9153d3796 /apps | |
parent | 960c8cb5bce4449834cf6373601e7555743cb89f (diff) | |
download | nextcloud-server-a394c1887f82af41226b9511a52506b249e995ed.tar.gz nextcloud-server-a394c1887f82af41226b9511a52506b249e995ed.zip |
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(''); |