summaryrefslogtreecommitdiffstats
path: root/templates/7.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/7.php')
-rw-r--r--templates/7.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/templates/7.php b/templates/7.php
deleted file mode 100644
index 0e2355fd3..000000000
--- a/templates/7.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * Backports for <7.0.3
- */
-
-/**
- * Shortcut for adding scripts to a page
- * @param string $app the appname
- * @param string|string[] $file the filename,
- * if an array is given it will add all scripts
- */
-function script($app, $file) {
- if(is_array($file)) {
- foreach($file as $f) {
- \OCP\Util::addScript($app, $f);
- }
- } else {
- \OCP\Util::addScript($app, $file);
- }
-}
-
-/**
- * Shortcut for adding styles to a page
- * @param string $app the appname
- * @param string|string[] $file the filename,
- * if an array is given it will add all styles
- */
-function style($app, $file) {
- if(is_array($file)) {
- foreach($file as $f) {
- \OCP\Util::addStyle($app, $f);
- }
- } else {
- \OCP\Util::addStyle($app, $file);
- }
-}
-