aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/Connection.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-22 17:59:26 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:15:48 +0200
commita2a7150d6d87a499e6745651edb27c9795939d0c (patch)
tree43c24a93b22268ec324ec30b2ef026ea09df1b4b /lib/private/DB/Connection.php
parenta83a8f0dde07bff67e0ceb7008cc26b3fad32516 (diff)
downloadnextcloud-server-a2a7150d6d87a499e6745651edb27c9795939d0c.tar.gz
nextcloud-server-a2a7150d6d87a499e6745651edb27c9795939d0c.zip
Migrate Repair events to OCP\EventDispatcher\Event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r--lib/private/DB/Connection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php
index 22c2bbbb793..73e0f4b4ac2 100644
--- a/lib/private/DB/Connection.php
+++ b/lib/private/DB/Connection.php
@@ -588,7 +588,7 @@ class Connection extends \Doctrine\DBAL\Connection {
$random = \OC::$server->getSecureRandom();
$platform = $this->getDatabasePlatform();
$config = \OC::$server->getConfig();
- $dispatcher = \OC::$server->getEventDispatcher();
+ $dispatcher = \OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class);
if ($platform instanceof SqlitePlatform) {
return new SQLiteMigrator($this, $config, $dispatcher);
} elseif ($platform instanceof OraclePlatform) {