summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-06-19 14:15:56 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-06-19 14:15:56 +0200
commited3dc199ae406aba2214ebd7751ef0434501db3b (patch)
tree7b49f064593c934904c6e681dfe3ecbfec49a0b5 /apps/encryption
parent6adddb3095abc447c30fb3f8c46c26507895c660 (diff)
downloadnextcloud-server-ed3dc199ae406aba2214ebd7751ef0434501db3b.tar.gz
nextcloud-server-ed3dc199ae406aba2214ebd7751ef0434501db3b.zip
remove files_encryption from database at the end of the migration process
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');