diff options
Diffstat (limited to 'lib/private/legacy/OC_App.php')
-rw-r--r-- | lib/private/legacy/OC_App.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 32d2569d0a0..a64b13f1e2c 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -989,7 +989,7 @@ class OC_App { if (file_exists($appPath . '/appinfo/database.xml')) { OC_DB::updateDbFromStructure($appPath . '/appinfo/database.xml'); } else { - $ms = new MigrationService($appId, \OC::$server->getDatabaseConnection()); + $ms = new MigrationService($appId, \OC::$server->get(\OC\DB\Connection::class)); $ms->migrate(); } |