summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php2
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);
}
/**