Merge pull request #15185 from owncloud/fix-14775-master

tearDown the file system before reinitializing
This commit is contained in:
Vincent Petry 2015-03-25 16:26:58 +01:00
commit bdd749ba5b
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ class Migration {
public function reorganizeFolderStructureForUser($user) {
// backup all keys
\OC_Util::tearDownFS();
\OC_Util::setupFS($user);
if ($this->backupUserKeys($user)) {
// create new 'key' folder