From 3a783a722a29e5e4557417d297126afcaf1e459d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 12 May 2022 10:21:36 +0200 Subject: [PATCH] Use SymfonyAdapter for legacy event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- templates/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.php b/templates/main.php index a5de6b08e..db7c9d93e 100644 --- a/templates/main.php +++ b/templates/main.php @@ -25,5 +25,5 @@ OCP\Util::addStyle('deck', 'globalstyles'); OCP\Util::addScript('deck', 'deck-main'); -\OCP\Server::get(\OCP\EventDispatcher\IEventDispatcher::class) +\OCP\Server::get(\OC\EventDispatcher\SymfonyAdapter::class) ->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts');