Merge pull request #20422 from owncloud/fix-20421-master

Ensure the user folder exists
This commit is contained in:
Thomas Müller 2015-11-10 11:58:33 +01:00
commit d7232557d9
1 changed files with 3 additions and 0 deletions

View File

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