summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-28 20:58:32 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-28 20:58:32 +0100
commitb3724cd9c699522c8ec3c6754670b505d3481736 (patch)
treeab115657b3466998c43ae1abe39ee11f0c84ad62 /apps/files_trashbin/ajax
parentbdfef554c44e7af190122a035535c900d5513d32 (diff)
downloadnextcloud-server-b3724cd9c699522c8ec3c6754670b505d3481736.tar.gz
nextcloud-server-b3724cd9c699522c8ec3c6754670b505d3481736.zip
remove duplicate
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r--apps/files_trashbin/ajax/preview.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/preview.php b/apps/files_trashbin/ajax/preview.php
index 945466705c1..ce432f4d14e 100644
--- a/apps/files_trashbin/ajax/preview.php
+++ b/apps/files_trashbin/ajax/preview.php
@@ -37,7 +37,6 @@ try{
$mimetype = \OC_Helper::getFileNameMimeType(pathinfo($file, PATHINFO_FILENAME));
}
$preview->setMimetype($mimetype);
- $preview->setMimetype($mimetype);
$preview->setMaxX($maxX);
$preview->setMaxY($maxY);
$preview->setScalingUp($scalingUp);