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 authored and backportbot[bot] committed Mar 21, 2024
commit b2b9092cd084aa9de4dc24f8f7041c20a1b07268
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