summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-06-23 14:30:21 +0200
committerBjörn Schießle <bjoern@schiessle.org>2015-06-23 14:30:21 +0200
commitcce841c665a64aa161b023af59ac2136aaf424bf (patch)
tree246b877431bc46e561a89176eed978e174dd8b99 /apps/encryption
parent4b5324341c152ba14b817c13979a35e15502e39b (diff)
parent95602d4069a1eb9a45e1d08edeecc0d5b90e01ca (diff)
downloadnextcloud-server-cce841c665a64aa161b023af59ac2136aaf424bf.tar.gz
nextcloud-server-cce841c665a64aa161b023af59ac2136aaf424bf.zip
Merge pull request #17045 from owncloud/enc_improvements
encryption improvements
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/migration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/migration.php b/apps/encryption/lib/migration.php
index e4e5595efa1..3acf77e4c44 100644
--- a/apps/encryption/lib/migration.php
+++ b/apps/encryption/lib/migration.php
@@ -54,6 +54,7 @@ class Migration {
public function __destruct() {
$this->view->deleteAll('files_encryption/public_keys');
$this->updateFileCache();
+ $this->config->deleteAppValue('files_encryption', 'installed_version');
}
/**
@@ -139,7 +140,6 @@ class Migration {
public function updateDB() {
// delete left-over from old encryption which is no longer needed
- $this->config->deleteAppValue('files_encryption', 'installed_version');
$this->config->deleteAppValue('files_encryption', 'ocsid');
$this->config->deleteAppValue('files_encryption', 'types');
$this->config->deleteAppValue('files_encryption', 'enabled');