Skip to content
Snippets Groups Projects
Commit a394c188 authored by Thomas Müller's avatar Thomas Müller
Browse files

Ensure the user folder exists

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