diff --git a/lib/private/db/statementwrapper.php b/lib/private/db/statementwrapper.php index 14b68d60f4..30f4017210 100644 --- a/lib/private/db/statementwrapper.php +++ b/lib/private/db/statementwrapper.php @@ -80,7 +80,6 @@ class OC_DB_StatementWrapper { } if ($this->isManipulation) { $count = $this->statement->rowCount(); - $this->statement->closeCursor(); return $count; } else { return $this;