diff --git a/lib/Handler.php b/lib/Handler.php index a36a74b2..c4917c2a 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()))); - } } /**