From 5436ddf4cdbcb30cd1bc2e4a96e9095fac0a796a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 21 Mar 2024 17:37:08 +0100 Subject: [PATCH] fix(api): Ignore "parsed" link and icon urls when deleting Signed-off-by: Joas Schilling --- lib/Handler.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/Handler.php b/lib/Handler.php index a36a74b22..c4917c2af 100644 --- a/lib/Handler.php +++ b/lib/Handler.php @@ -339,14 +339,6 @@ protected function sqlWhere(IQueryBuilder $sql, INotification $notification) { if ($notification->getMessage() !== '') { $sql->andWhere($sql->expr()->eq('message', $sql->createNamedParameter($notification->getMessage()))); } - - if ($notification->getLink() !== '') { - $sql->andWhere($sql->expr()->eq('link', $sql->createNamedParameter($notification->getLink()))); - } - - if ($notification->getIcon() !== '') { - $sql->andWhere($sql->expr()->eq('icon', $sql->createNamedParameter($notification->getIcon()))); - } } /**