aboutsummaryrefslogtreecommitdiff
path: root/templates/error.php
diff options
context:
space:
mode:
authorJosh Panter <joshu@unfettered.net>2018-10-05 23:19:05 +0200
committerChristian Weiske <cweiske@cweiske.de>2018-10-05 23:20:31 +0200
commit4c85b6387c7612e40ad94960225e55533ae85011 (patch)
tree09e26035e98e0a4fc998f18e0c7cba0950cea97a /templates/error.php
parent9a5be0bddd55d2dbc462197a388c5f7625d01a5b (diff)
downloadgrauphel-4c85b6387c7612e40ad94960225e55533ae85011.tar.gz
grauphel-4c85b6387c7612e40ad94960225e55533ae85011.zip
Do not use OCP\Util anymore - API not avaiable in Nextcloud 14.
Resolves: https://github.com/cweiske/grauphel/pull/66 Resolves: https://github.com/cweiske/grauphel/issues/57
Diffstat (limited to 'templates/error.php')
-rw-r--r--templates/error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/error.php b/templates/error.php
index 9ea4c33..6ca821b 100644
--- a/templates/error.php
+++ b/templates/error.php
@@ -1,4 +1,4 @@
-<link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
+<link rel="stylesheet" href="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
<div id="app-content" class="content">
<div id="searchresults" class="hidden"></div>