aboutsummaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-06-30 12:50:28 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-04 12:36:30 +0200
commiteb090538972533c40c4a2589f44b9f9454edbb1d (patch)
tree6bcef8fb2933c18f90adeffec28bef8425256f3a /console.php
parent2c71a77f4bd35bf68674be8b0fcff6f9f3c42200 (diff)
downloadnextcloud-server-eb090538972533c40c4a2589f44b9f9454edbb1d.tar.gz
nextcloud-server-eb090538972533c40c4a2589f44b9f9454edbb1d.zip
feat(admin_audit): Migrate to non-deprecated IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'console.php')
-rw-r--r--console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.php b/console.php
index f9a4689bd58..d30db9adb6e 100644
--- a/console.php
+++ b/console.php
@@ -91,7 +91,7 @@ try {
$application = new Application(
\OC::$server->getConfig(),
- \OC::$server->getEventDispatcher(),
+ \OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class),
\OC::$server->getRequest(),
\OC::$server->get(\Psr\Log\LoggerInterface::class),
\OC::$server->query(\OC\MemoryInfo::class)