summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-02-09 13:52:27 +0100
committerJoas Schilling <coding@schilljs.com>2021-02-11 18:58:57 +0100
commit86d7798944e64aa203f6a118ad40de06d3df36ea (patch)
tree6b241384692b429e7ac76d5aaca5dd41e1e655b4 /templates
parentdd0e81c274f22e6ab0cc4bed96cd2736a815d5cc (diff)
Make sure that collections scripts event is properly emitted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/index.php b/templates/index.php
index b3949fe93..5a9abb765 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -1,11 +1,6 @@
<?php
-/** @var \OCP\IL10N $l */
-/** @var array $_ */
+declare(strict_types=1);
script('spreed', 'talk');
-
style('spreed', 'merged');
-if (($_['user_uid'] ?? '') !== '') {
- \OC::$server->getEventDispatcher()->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts');
-}