mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: Always create user directory when transfering files to new users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
0126247439
commit
b62e29051e
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ class OwnershipTransferService {
|
|||
|
||||
// setup filesystem
|
||||
// Requesting the user folder will set it up if the user hasn't logged in before
|
||||
// We need a setupFS for the full filesystem setup before as otherwise we will just return
|
||||
// a lazy root folder which does not create the destination users folder
|
||||
\OC_Util::setupFS($destinationUser->getUID());
|
||||
\OC::$server->getUserFolder($destinationUser->getUID());
|
||||
Filesystem::initMountPoints($sourceUid);
|
||||
Filesystem::initMountPoints($destinationUid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue