mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
Ensure the user folder exists
This commit is contained in:
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('');
|
||||
|
|
|
|||
Loading…
Reference in a new issue