From: Thomas Mueller Date: Sat, 2 Nov 2013 18:11:46 +0000 (+0100) Subject: replace template function link_to_docs() with \OC_Helper::linkToDocs() X-Git-Tag: v6.0.0beta3~20^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb3c5070c0b753a379f9ccc99d6811bf83cf8603;p=nextcloud-server.git replace template function link_to_docs() with \OC_Helper::linkToDocs() --- 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 ' - .'giving the webserver write access to the config directory.' + .'giving the webserver write access to the config directory.' ); } } 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 installation guides.', - link_to_docs('admin-install')); + \OC_Helper::linkToDocs('admin-install')); OC_Template::printErrorPage($error, $hint); exit();