]> source.dussan.org Git - nextcloud-server.git/commitdiff
tearDown the file system before reinitializing - fixes #14775
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 25 Mar 2015 09:55:54 +0000 (10:55 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 25 Mar 2015 09:55:54 +0000 (10:55 +0100)
apps/files_encryption/lib/migration.php

index ad954db7ebbbd285f06ba323e30a4d5ab38eabf9..027116d8436cd29a43efbcf73b6882be8a3ce7bd 100644 (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