summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-11-03 05:08:56 -0800
committerMorris Jobke <morris.jobke@gmail.com>2013-11-03 05:08:56 -0800
commitba2dd3b37cd35a2d2397a90121679937e0944a71 (patch)
tree283510f9310816cbac733995b174b8fb581fce96
parent2dcaa4ddbfb1f331c40e63a62b27dc3eb731ed76 (diff)
parenteb3c5070c0b753a379f9ccc99d6811bf83cf8603 (diff)
downloadnextcloud-server-ba2dd3b37cd35a2d2397a90121679937e0944a71.tar.gz
nextcloud-server-ba2dd3b37cd35a2d2397a90121679937e0944a71.zip
Merge pull request #5671 from owncloud/fixing-5668-master
replace template function link_to_docs() with \OC_Helper::linkToDocs()
-rw-r--r--lib/base.php2
-rw-r--r--lib/private/setup.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 47064c103e7..4f8d97ac95d 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -181,7 +181,7 @@ class OC {
OC_Template::printErrorPage(
"Can't write into config directory!",
'This can usually be fixed by '
- .'<a href="' . link_to_docs('admin-dir_permissions') . '" target="_blank">giving the webserver write access to the config directory</a>.'
+ .'<a href="' . \OC_Helper::linkToDocs('admin-dir_permissions') . '" target="_blank">giving the webserver write access to the config directory</a>.'
);
}
}
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 3cc1d29c6a4..9c3034dc06b 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -183,7 +183,7 @@ class OC_Setup {
$error = $l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.');
$hint = $l->t('Please double check the <a href=\'%s\'>installation guides</a>.',
- link_to_docs('admin-install'));
+ \OC_Helper::linkToDocs('admin-install'));
OC_Template::printErrorPage($error, $hint);
exit();