diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-02-06 16:50:16 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-02-06 16:50:16 +0100 |
commit | fd171a4f3407a4c4c01b7eac256e2b1a9f920f25 (patch) | |
tree | a8e21e68238a24bbe338e042a5ca0480e620d710 /apps/files_trashbin/lib | |
parent | 8cc7bab0e5e8245977dbc0a52e89fc8a7a0f8552 (diff) | |
download | nextcloud-server-fd171a4f3407a4c4c01b7eac256e2b1a9f920f25.tar.gz nextcloud-server-fd171a4f3407a4c4c01b7eac256e2b1a9f920f25.zip |
copy&paste bug, no fetchAll() needed here
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r-- | apps/files_trashbin/lib/trash.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php index bf98b6dfe80..e41dcb096c9 100644 --- a/apps/files_trashbin/lib/trash.php +++ b/apps/files_trashbin/lib/trash.php @@ -163,7 +163,7 @@ class Trashbin { if ( $timestamp ) {
$query = \OC_DB::prepare('DELETE FROM *PREFIX*files_trash WHERE user=? AND id=? AND timestamp=?');
- $query->execute(array($user,$filename,$timestamp))->fetchAll();
+ $query->execute(array($user,$filename,$timestamp));
$file = $filename.'.d'.$timestamp; } else { $file = $filename; |