summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_trashbin/ajax/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php
index fe41f53d49e..a166ce55c88 100644
--- a/apps/files_trashbin/ajax/delete.php
+++ b/apps/files_trashbin/ajax/delete.php
@@ -14,7 +14,7 @@ if ($path_parts['dirname'] == '.') {
$filename = $file;
$timestamp = null;
}
-sleep(5);
+
if (OCA_Trash\Trashbin::delete($filename, $timestamp)) {
error_log("feinifeini");
OCP\JSON::success(array("data" => array("filename" => $file)));