diff options
Diffstat (limited to 'lib/private/legacy/db/statementwrapper.php')
-rw-r--r-- | lib/private/legacy/db/statementwrapper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/legacy/db/statementwrapper.php b/lib/private/legacy/db/statementwrapper.php index 7c3c4776aa7..12774c894e8 100644 --- a/lib/private/legacy/db/statementwrapper.php +++ b/lib/private/legacy/db/statementwrapper.php @@ -77,8 +77,7 @@ class OC_DB_StatementWrapper { return false; } if ($this->isManipulation) { - $count = $this->statement->rowCount(); - return $count; + return $this->statement->rowCount(); } else { return $this; } |