tearDown the file system before reinitializing - fixes #14775
This commit is contained in:
parent
9c151d2136
commit
1f6d8f2fdb
|
@ -84,6 +84,7 @@ class Migration {
|
||||||
|
|
||||||
public function reorganizeFolderStructureForUser($user) {
|
public function reorganizeFolderStructureForUser($user) {
|
||||||
// backup all keys
|
// backup all keys
|
||||||
|
\OC_Util::tearDownFS();
|
||||||
\OC_Util::setupFS($user);
|
\OC_Util::setupFS($user);
|
||||||
if ($this->backupUserKeys($user)) {
|
if ($this->backupUserKeys($user)) {
|
||||||
// create new 'key' folder
|
// create new 'key' folder
|
||||||
|
|
Loading…
Reference in New Issue