Do not use OCP\Util anymore - API not avaiable in Nextcloud 14.
[grauphel.git] / templates / error.php
index 9ea4c33..6ca821b 100644 (file)
@@ -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>
 
 <div id="app-content" class="content">
   <div id="searchresults" class="hidden"></div>