diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-08 18:23:18 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-08 18:23:18 +0200 |
commit | 85c3b9d5cf9fe9c9d884c7a08b0da46e4e585720 (patch) | |
tree | 959e12d18ab1ca769a5f3290eb246e8871258a88 /apps/encryption/lib | |
parent | 0fe81d2f214c59dbe223e949232475fb8a6f24b9 (diff) | |
download | nextcloud-server-85c3b9d5cf9fe9c9d884c7a08b0da46e4e585720.tar.gz nextcloud-server-85c3b9d5cf9fe9c9d884c7a08b0da46e4e585720.zip |
only cleanUp the remaining keys if the migration really finished succesfully
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/migration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/migration.php b/apps/encryption/lib/migration.php index 98fc5be777a..391267603cd 100644 --- a/apps/encryption/lib/migration.php +++ b/apps/encryption/lib/migration.php @@ -50,7 +50,7 @@ class Migration { $this->config = $config; } - public function __destruct() { + public function finalCleanUp() { $this->view->deleteAll('files_encryption/public_keys'); $this->updateFileCache(); $this->config->deleteAppValue('files_encryption', 'installed_version'); |