Skip to content
Snippets Groups Projects
Commit 1fddd62c authored by Robin Appelman's avatar Robin Appelman
Browse files

remvoe duplicate rmdir

parent 3840466f
No related branches found
No related tags found
No related merge requests found
...@@ -422,7 +422,6 @@ class Preview { ...@@ -422,7 +422,6 @@ class Preview {
// .ocTransferId*.part file from chunked file upload. // .ocTransferId*.part file from chunked file upload.
if (!empty($fileId)) { if (!empty($fileId)) {
$previewPath = $this->getPreviewPath($fileId); $previewPath = $this->getPreviewPath($fileId);
$this->userView->deleteAll($previewPath);
$this->userView->rmdir($previewPath); $this->userView->rmdir($previewPath);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment