summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-08 18:23:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-16 14:07:17 +0200
commit9d9ab82a17ccbf9d309c7cd565ef1b8b16491007 (patch)
tree64094373c5e89cc705be1d2804b0c1db8a754b2a /settings
parentedb15bd493f3b44b893b8cf3b72de419de4a7916 (diff)
downloadnextcloud-server-9d9ab82a17ccbf9d309c7cd565ef1b8b16491007.tar.gz
nextcloud-server-9d9ab82a17ccbf9d309c7cd565ef1b8b16491007.zip
only cleanUp the remaining keys if the migration really finished succesfully
Diffstat (limited to 'settings')
-rw-r--r--settings/controller/encryptioncontroller.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/controller/encryptioncontroller.php b/settings/controller/encryptioncontroller.php
index 411b9e87cc1..87cbf0a4bf1 100644
--- a/settings/controller/encryptioncontroller.php
+++ b/settings/controller/encryptioncontroller.php
@@ -102,6 +102,8 @@ class EncryptionController extends Controller {
} while (count($users) >= $limit);
}
+ $migration->finalCleanUp();
+
} catch (\Exception $e) {
return array(
'data' => array(