Do not use OCP\Util anymore - API not avaiable in Nextcloud 14.
[grauphel.git] / templates / error.php
index 9ea4c330e911f8bb74459c1ae7b1ee6720baf271..6ca821bde60263af8f3092abcd0e210148477658 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>