Skip to content

Commit 11fde9a

Browse files
nickvergessenbackportbot[bot]
authored andcommitted
fix(api): Ignore "parsed" link and icon urls when deleting
Signed-off-by: Joas Schilling <[email protected]>
1 parent 54ba8f1 commit 11fde9a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/Handler.php

-8
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,6 @@ protected function sqlWhere(IQueryBuilder $sql, INotification $notification) {
339339
if ($notification->getMessage() !== '') {
340340
$sql->andWhere($sql->expr()->eq('message', $sql->createNamedParameter($notification->getMessage())));
341341
}
342-
343-
if ($notification->getLink() !== '') {
344-
$sql->andWhere($sql->expr()->eq('link', $sql->createNamedParameter($notification->getLink())));
345-
}
346-
347-
if ($notification->getIcon() !== '') {
348-
$sql->andWhere($sql->expr()->eq('icon', $sql->createNamedParameter($notification->getIcon())));
349-
}
350342
}
351343

352344
/**

0 commit comments

Comments
 (0)