aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-06-14 17:06:24 +0200
committerRobin Appelman <icewind@owncloud.com>2016-06-14 17:06:24 +0200
commit1fddd62c1ca0cd3407fb15d62d463491e37e336d (patch)
tree0d2202869ac4438798a97147613ee5ae73e1485c /lib/private/Preview.php
parent3840466f9aadb0f925ecfd03fb716293bdb68c0e (diff)
downloadnextcloud-server-1fddd62c1ca0cd3407fb15d62d463491e37e336d.tar.gz
nextcloud-server-1fddd62c1ca0cd3407fb15d62d463491e37e336d.zip
remvoe duplicate rmdir
Diffstat (limited to 'lib/private/Preview.php')
-rw-r--r--lib/private/Preview.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Preview.php b/lib/private/Preview.php
index f5e2f6b57e1..b5625ce0df0 100644
--- a/lib/private/Preview.php
+++ b/lib/private/Preview.php
@@ -422,7 +422,6 @@ class Preview {
// .ocTransferId*.part file from chunked file upload.
if (!empty($fileId)) {
$previewPath = $this->getPreviewPath($fileId);
- $this->userView->deleteAll($previewPath);
$this->userView->rmdir($previewPath);
}
}