diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 10:53:21 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 10:53:21 +0100 |
commit | 19eeb23b910104d2447888c12439a1008cc921b9 (patch) | |
tree | e662494d7f76e4a7dc2a442f27468942b566c803 /core/templates/404.php | |
parent | c92b49c82aad3104f9d60961a57f6d8480c136a5 (diff) | |
download | nextcloud-server-19eeb23b910104d2447888c12439a1008cc921b9.tar.gz nextcloud-server-19eeb23b910104d2447888c12439a1008cc921b9.zip |
OC_Helper::linkTo is deprecated
Replaced with suggested (and calling body of)
Diffstat (limited to 'core/templates/404.php')
-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; ?> |