diff options
author | Roeland Douma <unix@rullzer.com> | 2015-04-19 15:42:07 +0200 |
---|---|---|
committer | Roeland Douma <unix@rullzer.com> | 2015-04-19 15:42:07 +0200 |
commit | d877c1f1e12d1ac03b99e172f15804b503400139 (patch) | |
tree | a990ef4deee31a11fd1c937aa33a7570a98c9947 /lib/public/util.php | |
parent | 3cb5dd68e69aa3867839d79020c1bd272c770e8b (diff) | |
parent | 9b8ebdadf7e12fdaaab03d583602341a6a0210aa (diff) | |
download | nextcloud-server-d877c1f1e12d1ac03b99e172f15804b503400139.tar.gz nextcloud-server-d877c1f1e12d1ac03b99e172f15804b503400139.zip |
Merge pull request #15736 from owncloud/remove-dependency-on-legacy-code-in-ocp
Reduce call of legacy wrapper by call the OCP directly
Diffstat (limited to 'lib/public/util.php')
-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 224439c239e..6eb5c6034c1 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -395,7 +395,7 @@ class Util { * @since 4.0.0 */ public static function imagePath( $app, $image ) { - return(\OC_Helper::imagePath( $app, $image )); + return \OC::$server->getURLGenerator()->imagePath($app, $image); } /** |