From 75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 22 Jan 2016 11:18:42 +0100 Subject: Remove OC_Helper::imagePath and use the proper public interface --- lib/private/helper.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/private/helper.php') diff --git a/lib/private/helper.php b/lib/private/helper.php index c387cd40a24..495f95e72d2 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -68,19 +68,6 @@ class OC_Helper { return $url . (($add_slash && $service[strlen($service) - 1] != '/') ? '/' : ''); } - /** - * Creates path to an image - * @param string $app app - * @param string $image image name - * @return string the url - * @deprecated Use \OC::$server->getURLGenerator()->imagePath($app, $image) - * - * Returns the path to the image. - */ - public static function imagePath($app, $image) { - return OC::$server->getURLGenerator()->imagePath($app, $image); - } - /** * get path to preview of file * @param string $path path -- cgit v1.2.3