summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-06 16:25:10 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-06 16:25:10 +0100
commit8cc7bab0e5e8245977dbc0a52e89fc8a7a0f8552 (patch)
tree932f4b741997ec0c5ac98bbab27246057ca25b1f /apps/files_trashbin/ajax
parente2516a2b65185bd3081361d0b8f25e6eaf7d698f (diff)
downloadnextcloud-server-8cc7bab0e5e8245977dbc0a52e89fc8a7a0f8552.tar.gz
nextcloud-server-8cc7bab0e5e8245977dbc0a52e89fc8a7a0f8552.zip
delete debug code
Diffstat (limited to 'apps/files_trashbin/ajax')
-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)));