Commit a394c188 authored by Thomas Müller's avatar Thomas Müller
Browse files

Ensure the user folder exists

parent 960c8cb5
......@@ -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('');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment