Skip to content
Snippets Groups Projects
Commit fd171a4f authored by Björn Schießle's avatar Björn Schießle
Browse files

copy&paste bug, no fetchAll() needed here

parent 8cc7bab0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment