summaryrefslogtreecommitdiffstats
path: root/lib/private/template/functions.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-17 14:43:02 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-17 14:43:02 +0100
commit358b84c21d31fa67dfde75047deb5a66f8c65360 (patch)
tree7cef79b753af3b70a5d51ed480bdfe3cfb698fda /lib/private/template/functions.php
parent311a565f7f3d111f1ecc177a5529ecbbb484a2dd (diff)
parent205c239eab1912d1a8650ae9ed926d28839ac1ec (diff)
downloadnextcloud-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 'lib/private/template/functions.php')
-rw-r--r--lib/private/template/functions.php2
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);
}
/**