diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-18 12:08:34 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-18 12:08:34 +0100 |
commit | 4a1a23ce1b865b7d2097097b73451b253c713027 (patch) | |
tree | f106ecb9a406265bb59af99b7d88c1f60e621d37 /apps/files_trashbin/ajax/delete.php | |
parent | 67f5b00980308f02db16b6aa0870f94771cec07e (diff) | |
download | nextcloud-server-4a1a23ce1b865b7d2097097b73451b253c713027.tar.gz nextcloud-server-4a1a23ce1b865b7d2097097b73451b253c713027.zip |
add some error logs to the trash bin app
Diffstat (limited to 'apps/files_trashbin/ajax/delete.php')
-rw-r--r-- | apps/files_trashbin/ajax/delete.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php index 1834fb54003..16c39ab3853 100644 --- a/apps/files_trashbin/ajax/delete.php +++ b/apps/files_trashbin/ajax/delete.php @@ -10,6 +10,7 @@ $list = json_decode($files); $error = array(); $success = array(); + $i = 0; foreach ($list as $file) { if ( $dirlisting=='0') { @@ -28,6 +29,7 @@ foreach ($list as $file) { $i++; } else { $error[] = $filename; + OC_Log::write('trashbin','can\'t delete ' . $filename . ' permanently.', OC_Log::ERROR); } } |