aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_App.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-28 14:10:27 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-28 14:11:22 +0200
commit3962cd0aa8ab7530deffa3b41cab2e11a01fd14a (patch)
treef8ec289aacdf05398e2407b8e7e54b547ee1986e /lib/private/legacy/OC_App.php
parentb9e2f494a1307dac05b49fe74a224dc93f4c70e7 (diff)
downloadnextcloud-server-3962cd0aa8ab7530deffa3b41cab2e11a01fd14a.tar.gz
nextcloud-server-3962cd0aa8ab7530deffa3b41cab2e11a01fd14a.zip
fix!: Move getEventDispatcher usage to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/legacy/OC_App.php')
-rw-r--r--lib/private/legacy/OC_App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index 9337492e775..ac449a62a4f 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -802,7 +802,7 @@ class OC_App {
\OC::$server->getConfig()->setAppValue($appId, 'installed_version', $version);
\OC::$server->get(IEventDispatcher::class)->dispatchTyped(new AppUpdateEvent($appId));
- \OC::$server->getEventDispatcher()->dispatch(ManagerEvent::EVENT_APP_UPDATE, new ManagerEvent(
+ \OC::$server->get(IEventDispatcher::class)->dispatch(ManagerEvent::EVENT_APP_UPDATE, new ManagerEvent(
ManagerEvent::EVENT_APP_UPDATE, $appId
));