tearDown the file system before reinitializing - fixes #14775

This commit is contained in:
Thomas Müller 2015-03-25 10:55:54 +01:00
parent 9c151d2136
commit 1f6d8f2fdb

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