replace template function link_to_docs() with \OC_Helper::linkToDocs()
This commit is contained in:
parent
d25c8b43e6
commit
eb3c5070c0
|
@ -181,7 +181,7 @@ class OC {
|
||||||
OC_Template::printErrorPage(
|
OC_Template::printErrorPage(
|
||||||
"Can't write into config directory!",
|
"Can't write into config directory!",
|
||||||
'This can usually be fixed by '
|
'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>.'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.');
|
$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>.',
|
$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);
|
OC_Template::printErrorPage($error, $hint);
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue