aboutsummaryrefslogtreecommitdiff
path: root/templates/gui-note.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/gui-note.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/gui-note.php')
-rw-r--r--templates/gui-note.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gui-note.php b/templates/gui-note.php
index 8061a50..a182f5f 100644
--- a/templates/gui-note.php
+++ b/templates/gui-note.php
@@ -1,9 +1,9 @@
-<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"/>
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
+<script type="text/javascript" src="<?php p(OC::$server->getURLGenerator()->linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
<div id="searchresults" class="hidden"></div>