diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-27 13:04:30 +0300 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-27 13:04:30 +0300 |
commit | 04c9de731234cd42c7f31a3440dce6f7867d21b2 (patch) | |
tree | c870133067549cf75fd6f22bbe2e6385939e3c56 /lib/private/legacy/template/functions.php | |
parent | 3500d8b9805555211438509885b34e5ba60a9c8e (diff) |
Add deprecation notice to script & addScript func
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/private/legacy/template/functions.php')
-rw-r--r-- | lib/private/legacy/template/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php index e28cf02f7a3..56c488d5abe 100644 --- a/lib/private/legacy/template/functions.php +++ b/lib/private/legacy/template/functions.php @@ -118,10 +118,11 @@ function print_unescaped($string) { * they are coming from a template registration. * Please consider moving them into the relevant controller * + * @deprecated 24.0.0 - Use \OCP\Util::addScript + * * @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)) { |