]> source.dussan.org Git - nextcloud-server.git/commitdiff
replace template function link_to_docs() with \OC_Helper::linkToDocs()
authorThomas Mueller <thomas.mueller@tmit.eu>
Sat, 2 Nov 2013 18:11:46 +0000 (19:11 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Sat, 2 Nov 2013 18:11:46 +0000 (19:11 +0100)
lib/base.php
lib/private/setup.php

index 47064c103e7c2842e450bfaaae77738d0d68ae6a..4f8d97ac95d9fb50bb259230f2cbad89c52736af 100644 (file)
@@ -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>.'
                        );
                }
        }
index 3cc1d29c6a4056949d225f8a283f22125bfbce42..9c3034dc06ba6f7e87ae3bca7c1fdc12efbd7f59 100644 (file)
@@ -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();