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 /lib/public | |
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 'lib/public')
-rw-r--r-- | lib/public/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 4e783b764ed..e0c875438f2 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -316,7 +316,7 @@ class Util { * @since 4.0.0 - parameter $args was added in 4.5.0 */ public static function linkTo( $app, $file, $args = array() ) { - return(\OC_Helper::linkTo( $app, $file, $args )); + return \OC::$server->getURLGenerator()->linkTo($app, $file, $args); } /** |