summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-19 12:38:00 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-19 12:38:00 +0100
commit211e651d7222085b528cc6e9dc8d060d8ea6a60e (patch)
treed61ad68a0ab2d34c9a785b9dbce93596153d4cfe /apps/files_trashbin/ajax
parent7bfbfe6562a7dbcecdc05b60214a0da83760c4a3 (diff)
downloadnextcloud-server-211e651d7222085b528cc6e9dc8d060d8ea6a60e.tar.gz
nextcloud-server-211e651d7222085b528cc6e9dc8d060d8ea6a60e.zip
add timestamp to function call; fix trash.js to handle multiple delete operation at once
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 7684d0465e6..915ad9379f6 100644
--- a/apps/files_trashbin/ajax/delete.php
+++ b/apps/files_trashbin/ajax/delete.php
@@ -26,7 +26,7 @@ foreach ($list as $file) {
}
OCA\Files_Trashbin\Trashbin::delete($filename, $timestamp);
- if (!OCA\Files_Trashbin\Trashbin::file_exists($filename)) {
+ if (!OCA\Files_Trashbin\Trashbin::file_exists($filename, $timestamp)) {
$success[$i]['filename'] = $file;
$success[$i]['timestamp'] = $timestamp;
$i++;