summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2020-10-03 17:48:58 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-10-03 20:16:34 +0200
commitd1b0e299f1df0c94e5cc63afcd03f0bc42c6430d (patch)
treecf828d5e58892a9a6dc2173052dfb27af2ea3d96
parent2f9fbf9491db09395481626487f018d927339972 (diff)
remove doubled execute
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
-rw-r--r--lib/Db/NewsMapperV2.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Db/NewsMapperV2.php b/lib/Db/NewsMapperV2.php
index 2896d9052..5d1905151 100644
--- a/lib/Db/NewsMapperV2.php
+++ b/lib/Db/NewsMapperV2.php
@@ -73,7 +73,6 @@ abstract class NewsMapperV2 extends QBMapper
$builder = $this->db->getQueryBuilder();
$builder->delete($this->tableName)
->where('deleted_at != 0')
- ->execute()
->execute();
}