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');