diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-17 14:43:02 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-17 14:43:02 +0100 |
commit | 358b84c21d31fa67dfde75047deb5a66f8c65360 (patch) | |
tree | 7cef79b753af3b70a5d51ed480bdfe3cfb698fda /core | |
parent | 311a565f7f3d111f1ecc177a5529ecbbb484a2dd (diff) | |
parent | 205c239eab1912d1a8650ae9ed926d28839ac1ec (diff) | |
download | nextcloud-server-358b84c21d31fa67dfde75047deb5a66f8c65360.tar.gz nextcloud-server-358b84c21d31fa67dfde75047deb5a66f8c65360.zip |
Merge pull request #21253 from owncloud/deprecated_oc_helper_linkTo
Remove deprecated OC_Helper::linkTo
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/404.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/404.php b/core/templates/404.php index c8d16e3e8f7..2b12b12cff7 100644 --- a/core/templates/404.php +++ b/core/templates/404.php @@ -16,7 +16,7 @@ if(!isset($_)) {//also provide standalone error page <li class="error"> <?php p($l->t('File not found')); ?><br> <p class="hint"><?php p($l->t('The specified document has not been found on the server.')); ?></p> - <p class="hint"><a href="<?php p(OC_Helper::linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p> + <p class="hint"><a href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p> </li> </ul> <?php endif; ?> |