aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Updater.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-05 14:44:24 +0200
committerJoas Schilling <coding@schilljs.com>2017-07-05 14:58:20 +0200
commitbbfc044ac5708900f6c6d246a88b656a0bb1292f (patch)
tree1418af3206d79a24307ebc94554138d2fdd15c2e /lib/private/Updater.php
parent0bff4f3f07a52e063abe5a50a9ef3ec3bb131e51 (diff)
downloadnextcloud-server-bbfc044ac5708900f6c6d246a88b656a0bb1292f.tar.gz
nextcloud-server-bbfc044ac5708900f6c6d246a88b656a0bb1292f.zip
Add migration for personal settings stuff
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r--lib/private/Updater.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
index 464344d2209..6c23a43c354 100644
--- a/lib/private/Updater.php
+++ b/lib/private/Updater.php
@@ -302,10 +302,8 @@ class Updater extends BasicEmitter {
$this->emit('\OC\Updater', 'dbUpgradeBefore');
// execute core migrations
- if (is_dir(\OC::$SERVERROOT . '/core/Migrations')) {
- $ms = new MigrationService('core', \OC::$server->getDatabaseConnection());
- $ms->migrate();
- }
+ $ms = new MigrationService('core', \OC::$server->getDatabaseConnection());
+ $ms->migrate();
$this->emit('\OC\Updater', 'dbUpgrade');
}