summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-03-25 16:26:58 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-25 16:26:58 +0100
commitbdd749ba5b942830db44e9899b34362a9c216df8 (patch)
treed4264452f48f08b51efc0989358f1e31a7dfec6b /apps
parent285f9e32e59e309cdb95403d45d307b3c20dca43 (diff)
parent1f6d8f2fdb7d89c7618e73b921ff1bca0ea5b334 (diff)
downloadnextcloud-server-bdd749ba5b942830db44e9899b34362a9c216df8.tar.gz
nextcloud-server-bdd749ba5b942830db44e9899b34362a9c216df8.zip
Merge pull request #15185 from owncloud/fix-14775-master
tearDown the file system before reinitializing
Diffstat (limited to 'apps')
-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