summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-25 10:55:54 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-25 10:55:54 +0100
commit1f6d8f2fdb7d89c7618e73b921ff1bca0ea5b334 (patch)
tree60c688b06d07e311b06a3269f59e59b51804bdbf /apps/files_encryption
parent9c151d21362e8b91716a03219fc781d7b3c4cc53 (diff)
downloadnextcloud-server-1f6d8f2fdb7d89c7618e73b921ff1bca0ea5b334.tar.gz
nextcloud-server-1f6d8f2fdb7d89c7618e73b921ff1bca0ea5b334.zip
tearDown the file system before reinitializing - fixes #14775
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/lib/migration.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/migration.php b/apps/files_encryption/lib/migration.php
index ad954db7ebb..027116d8436 100644
--- a/apps/files_encryption/lib/migration.php
+++ b/apps/files_encryption/lib/migration.php
@@ -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