diff --git a/templates/index.php b/templates/index.php index 166a634b487..4a557e8f9f6 100644 --- a/templates/index.php +++ b/templates/index.php @@ -6,5 +6,5 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -script('spreed', 'talk-main'); +\OCP\Util::addScript('spreed', 'talk-main'); style('spreed', 'icons'); diff --git a/templates/recording.php b/templates/recording.php index bf00762259e..cc0a1a71f3d 100644 --- a/templates/recording.php +++ b/templates/recording.php @@ -6,5 +6,5 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -script('spreed', 'talk-recording'); +\OCP\Util::addScript('spreed', 'talk-recording'); style('spreed', 'icons');