diff options
Diffstat (limited to 'lib/private/repair/innodb.php')
-rw-r--r-- | lib/private/repair/innodb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/repair/innodb.php b/lib/private/repair/innodb.php index ab94c79468d..4bbfdcea20a 100644 --- a/lib/private/repair/innodb.php +++ b/lib/private/repair/innodb.php @@ -37,7 +37,7 @@ class InnoDB extends BasicEmitter implements \OC\RepairStep { * Fix mime types */ public function run() { - $connection = \OC_DB::getConnection(); + $connection = \OC::$server->getDatabaseConnection(); if (!$connection->getDatabasePlatform() instanceof MySqlPlatform) { $this->emit('\OC\Repair', 'info', array('Not a mysql database -> nothing to do')); return; |