summaryrefslogtreecommitdiffstats
path: root/lib/Db/NewsMapper.php
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2020-11-11 19:09:15 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2020-11-11 19:21:04 +0100
commitc6c44be93b45a1fac5e491b4add389836365eb1f (patch)
treefb1f26b8e38e2fce6f1aaa3417809a642e755e36 /lib/Db/NewsMapper.php
parent9015d1bda93a5840a41a20c9d200ee7a4a9ee595 (diff)
fix second where overrides previous condition
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib/Db/NewsMapper.php')
-rw-r--r--lib/Db/NewsMapper.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Db/NewsMapper.php b/lib/Db/NewsMapper.php
index 14913c1be..b03c42c91 100644
--- a/lib/Db/NewsMapper.php
+++ b/lib/Db/NewsMapper.php
@@ -73,7 +73,6 @@ abstract class NewsMapper extends Mapper
$builder = $this->db->getQueryBuilder();
$builder->delete($this->tableName)
->where('deleted_at != 0')
- ->execute()
->execute();
}