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 /settings/controller/encryptioncontroller.php | |
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 'settings/controller/encryptioncontroller.php')
-rw-r--r-- | settings/controller/encryptioncontroller.php | 2 |
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( |