aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/untrustedDomain.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 22:04:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 22:04:08 +0100
commit83873e3da1535e02b3eac72e212f7ba0e251b7b9 (patch)
treea24e9351c510994e658628ecbc8c053ee95aad3d /core/templates/untrustedDomain.php
parentede723f1b19c4c1afb7627af85c1e2f8d8a31386 (diff)
downloadnextcloud-server-83873e3da1535e02b3eac72e212f7ba0e251b7b9.tar.gz
nextcloud-server-83873e3da1535e02b3eac72e212f7ba0e251b7b9.zip
Remove deprecated URL functions for OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/templates/untrustedDomain.php')
-rw-r--r--core/templates/untrustedDomain.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/untrustedDomain.php b/core/templates/untrustedDomain.php
index cd361cff3b4..297220c92bb 100644
--- a/core/templates/untrustedDomain.php
+++ b/core/templates/untrustedDomain.php
@@ -10,7 +10,7 @@
<?php p($l->t('Depending on your configuration, this button could also work to trust the domain:')); ?>
</p>
<p style="text-align:center;">
- <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->getAbsoluteURL(\OCP\Util::linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
+ <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->getAbsoluteURL(\OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
<?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
</a>
</p>