Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(api): Ignore "parsed" link and icon urls when deleting
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Mar 21, 2024
commit f343dc1d314c2f2292f237c9828f114dd898117b
8 changes: 0 additions & 8 deletions lib/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())));
}
}

/**
Expand Down