summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php
index 533fafda4..3c7492e04 100644
--- a/templates/part.settings.php
+++ b/templates/part.settings.php
@@ -76,7 +76,7 @@
<a title="<?php p($l->t('Export')); ?>"
class="button icon-download svg button-icon-label"
- href="<?php p(\OCP\Util::linkToRoute('news.export.opml')); ?>"
+ href="<?php p($_['url_generator']->linkToRoute('news.export.opml')); ?>"
target="_blank"
rel="noreferrer"
ng-hide="App.isFirstRun()">
@@ -118,7 +118,7 @@
<a title="<?php p($l->t('Export')); ?>"
class="button icon-download svg button-icon-label"
- href="<?php p(\OCP\Util::linkToRoute('news.export.articles')); ?>"
+ href="<?php p($_['url_generator']->linkToRoute('news.export.articles')); ?>"
target="_blank"
rel="noreferrer"
ng-hide="App.isFirstRun()">