diff options
Diffstat (limited to 'lib/private/template/functions.php')
-rw-r--r-- | lib/private/template/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php index d156d26f9ce..6298f25edc1 100644 --- a/lib/private/template/functions.php +++ b/lib/private/template/functions.php @@ -146,7 +146,7 @@ function component($app, $file) { * For further information have a look at OC_Helper::linkTo */ function link_to( $app, $file, $args = array() ) { - return OC_Helper::linkTo( $app, $file, $args ); + return \OC::$server->getURLGenerator()->linkTo($app, $file, $args); } /** |