summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-04-01 14:57:01 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-04-01 14:57:01 +0200
commit9e3dcd01bc8f094284f86f8d8707182b33f80437 (patch)
treef5f91b11aa446b774aa666307dd67dad277feaa2 /apps/user_ldap/templates
parent0af2dc7d3775f5d40cdfd3fe0cd4325abd6ce40d (diff)
downloadnextcloud-server-9e3dcd01bc8f094284f86f8d8707182b33f80437.tar.gz
nextcloud-server-9e3dcd01bc8f094284f86f8d8707182b33f80437.zip
Use URLGenerator instread of OC_Helper
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r--apps/user_ldap/templates/part.settingcontrols.php2
-rw-r--r--apps/user_ldap/templates/part.wizardcontrols.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/templates/part.settingcontrols.php b/apps/user_ldap/templates/part.settingcontrols.php
index bcccb59a7dd..e67cea41d9c 100644
--- a/apps/user_ldap/templates/part.settingcontrols.php
+++ b/apps/user_ldap/templates/part.settingcontrols.php
@@ -3,7 +3,7 @@
<button type="button" class="ldap_action_test_connection" name="ldap_action_test_connection">
<?php p($l->t('Test Configuration'));?>
</button>
- <a href="<?php p(\OC_Helper::linkToDocs('admin-ldap')); ?>"
+ <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>"
target="_blank">
<img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>"
style="height:1.75ex" />
diff --git a/apps/user_ldap/templates/part.wizardcontrols.php b/apps/user_ldap/templates/part.wizardcontrols.php
index 90d558e72d1..cda4e1fd906 100644
--- a/apps/user_ldap/templates/part.wizardcontrols.php
+++ b/apps/user_ldap/templates/part.wizardcontrols.php
@@ -8,7 +8,7 @@
<button class="ldap_action_continue" name="ldap_action_continue" type="button">
<?php p($l->t('Continue'));?>
</button>
- <a href="<?php p(\OC_Helper::linkToDocs('admin-ldap')); ?>"
+ <a href="<?php p(\OC::$server->getURLGenerator()->linkToDocs('admin-ldap')); ?>"
target="_blank">
<img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>"
style="height:1.75ex" />