diff options
| author | Josh Panter <joshu@unfettered.net> | 2018-10-05 23:19:05 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2018-10-05 23:20:31 +0200 |
| commit | 4c85b6387c7612e40ad94960225e55533ae85011 (patch) | |
| tree | 09e26035e98e0a4fc998f18e0c7cba0950cea97a /templates/appnavigation.php | |
| parent | 9a5be0bddd55d2dbc462197a388c5f7625d01a5b (diff) | |
| download | grauphel-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/appnavigation.php')
| -rw-r--r-- | templates/appnavigation.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/appnavigation.php b/templates/appnavigation.php index 04eb86c..7d51049 100644 --- a/templates/appnavigation.php +++ b/templates/appnavigation.php @@ -11,10 +11,10 @@ </div> <div id="app-settings-content" style="display: none;"> <ul> - <li><a href="<?php p(OCP\Util::linkToRoute('grauphel.gui.index')); ?>">Info and stats</a></li> + <li><a href="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.gui.index')); ?>">Info and stats</a></li> <?php if (OCP\User::isLoggedIn()) { ?> - <li><a href="<?php p(OCP\Util::linkToRoute('grauphel.gui.tokens')); ?>">Manage access tokens</a></li> - <li><a href="<?php p(OCP\Util::linkToRoute('grauphel.gui.database')); ?>">Manage database</a></li> + <li><a href="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.gui.tokens')); ?>">Manage access tokens</a></li> + <li><a href="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.gui.database')); ?>">Manage database</a></li> <?php } ?> </ul> </div> |
