summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-22 11:18:42 +0100
committerLukas Reschke <lukas@owncloud.com>2016-01-24 18:04:20 +0100
commit75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d (patch)
tree87a0dc613cdc081a9f3e8dd90d3fd7e613d1c000 /lib/private/helper.php
parent82d38528159cdf725b209f1ba7f37498e6ab7820 (diff)
downloadnextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.tar.gz
nextcloud-server-75e6734ef4374fb8d12cab9aaafcc7fc24ea9f0d.zip
Remove OC_Helper::imagePath and use the proper public interface
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php13
1 files changed, 0 insertions, 13 deletions
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
@@ -69,19 +69,6 @@ class OC_Helper {
}
/**
- * 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
* @return string the url