diff options
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r-- | lib/private/Updater.php | 6 |
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'); } |