summaryrefslogtreecommitdiffstats
path: root/lib/template
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:35:39 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-07-30 12:35:39 +0200
commitd84d8f71082ba17a9f37f86600a71d20e2481772 (patch)
treea60e6731320de6f59942b58fd28cf2416a025f3d /lib/template
parentac6a3133eca86b853da838ae310534b76e9fb662 (diff)
downloadnextcloud-server-d84d8f71082ba17a9f37f86600a71d20e2481772.tar.gz
nextcloud-server-d84d8f71082ba17a9f37f86600a71d20e2481772.zip
fix merge conflicts
Diffstat (limited to 'lib/template')
-rw-r--r--lib/template/functions.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/template/functions.php b/lib/template/functions.php
index 842f28c90e0..a892e310362 100644
--- a/lib/template/functions.php
+++ b/lib/template/functions.php
@@ -48,22 +48,6 @@ function image_path( $app, $image ) {
}
/**
- * @brief make preview_icon available as a simple function
- * Returns the path to the preview of the image.
- * @param $path path of file
- * @returns link to the preview
- *
- * For further information have a look at OC_Helper::previewIcon
- */
-function preview_icon( $path ) {
- return OC_Helper::previewIcon( $path );
-}
-
-function publicPreview_icon ( $path, $token ) {
- return OC_Helper::publicPreviewIcon( $path, $token );
-}
-
-/**
* @brief make OC_Helper::mimetypeIcon available as a simple function
* @param string $mimetype mimetype
* @return string link to the image
@@ -87,7 +71,7 @@ function preview_icon( $path ) {
}
function publicPreview_icon ( $path, $token ) {
- return OC_Helper::publicPreview_icon( $path, $token );
+ return OC_Helper::publicPreviewIcon( $path, $token );
}
/**