summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/controller/encryptioncontroller.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/controller/encryptioncontroller.php b/settings/controller/encryptioncontroller.php
index 800982d1f04..411b9e87cc1 100644
--- a/settings/controller/encryptioncontroller.php
+++ b/settings/controller/encryptioncontroller.php
@@ -82,12 +82,13 @@ class EncryptionController extends Controller {
public function startMigration() {
// allow as long execution on the web server as possible
set_time_limit(0);
- $migration = new Migration($this->config, $this->view, $this->connection);
- $migration->reorganizeSystemFolderStructure();
- $migration->updateDB();
try {
+ $migration = new Migration($this->config, $this->view, $this->connection);
+ $migration->reorganizeSystemFolderStructure();
+ $migration->updateDB();
+
foreach ($this->userManager->getBackends() as $backend) {
$limit = 500;