From fd171a4f3407a4c4c01b7eac256e2b1a9f920f25 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Wed, 6 Feb 2013 16:50:16 +0100 Subject: copy&paste bug, no fetchAll() needed here --- apps/files_trashbin/lib/trash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3