copy&paste bug, no fetchAll() needed here

This commit is contained in:
Björn Schießle 2013-02-06 16:50:16 +01:00
parent 8cc7bab0e5
commit fd171a4f34
1 changed files with 1 additions and 1 deletions

View File

@ -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;