summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-10 10:07:46 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-10 10:07:46 +0100
commita394c1887f82af41226b9511a52506b249e995ed (patch)
treefd2d3c916733430f8d343ed802479dc9153d3796 /apps
parent960c8cb5bce4449834cf6373601e7555743cb89f (diff)
downloadnextcloud-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.php3
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('');