aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/untrustedDomain.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-03-14 09:49:51 +0100
committerGitHub <noreply@github.com>2018-03-14 09:49:51 +0100
commit2d5febd0b9fe7f5b9e6a463fa877fef1148921c8 (patch)
treeb32fd9dc7b08788f231c4cf5aa09e37c0843e6dd /core/templates/untrustedDomain.php
parent0e48afafed1c3f4048e5e78bd5bdd8ff1f9d3883 (diff)
parent83873e3da1535e02b3eac72e212f7ba0e251b7b9 (diff)
downloadnextcloud-server-2d5febd0b9fe7f5b9e6a463fa877fef1148921c8.tar.gz
nextcloud-server-2d5febd0b9fe7f5b9e6a463fa877fef1148921c8.zip
Merge pull request #8811 from nextcloud/remove_dep_util_link
Remove deprecated URL functions for OCP\Util
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>