From eb3c5070c0b753a379f9ccc99d6811bf83cf8603 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Sat, 2 Nov 2013 19:11:46 +0100 Subject: [PATCH] replace template function link_to_docs() with \OC_Helper::linkToDocs() --- lib/base.php | 2 +- lib/private/setup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index 47064c103e..4f8d97ac95 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 3cc1d29c6a..9c3034dc06 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();