aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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);
}
}