aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Template/functions.php')
-rw-r--r--lib/private/Template/functions.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Template/functions.php b/lib/private/Template/functions.php
index 77a1e831008..402a7491e03 100644
--- a/lib/private/Template/functions.php
+++ b/lib/private/Template/functions.php
@@ -131,10 +131,10 @@ function script($app, $file = null): void {
function style($app, $file = null): void {
if (is_array($file)) {
foreach ($file as $f) {
- OC_Util::addStyle($app, $f);
+ Util::addStyle($app, $f);
}
} else {
- OC_Util::addStyle($app, $file);
+ Util::addStyle($app, $file);
}
}
@@ -143,6 +143,7 @@ function style($app, $file = null): void {
* @param string $app the appname
* @param string|string[] $file the filename,
* if an array is given it will add all styles
+ * @deprecated 32.0.0
*/
function vendor_style($app, $file = null): void {
if (is_array($file)) {