From d0ae28d32e9e328f70f8787a5128dad342080542 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Fri, 7 Jan 2022 10:10:52 +0100 Subject: [PATCH] Deprecate script function Signed-off-by: Louis Chemineau --- lib/private/legacy/template/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php index 1b554c2329e01..e28cf02f7a35c 100644 --- a/lib/private/legacy/template/functions.php +++ b/lib/private/legacy/template/functions.php @@ -121,6 +121,7 @@ function print_unescaped($string) { * @param string $app the appname * @param string|string[] $file the filename, * if an array is given it will add all scripts + * @deprecated 23.1.0 */ function script($app, $file = null) { if (is_array($file)) {