Ensure the user folder exists

remotes/origin/exclude_directories_III
Thomas Müller 2015-11-10 10:07:46 +07:00
parent 960c8cb5bc
commit a394c1887f
1 changed files with 3 additions and 0 deletions

@ -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('');