Skip to content

Commit

Permalink
fix(template): Replace deprecated script() function
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Oct 8, 2024
1 parent 24bbc26 commit 749bcea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
2 changes: 1 addition & 1 deletion templates/recording.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

0 comments on commit 749bcea

Please sign in to comment.