Skip to content

Commit

Permalink
Merge pull request #1859 from nextcloud/backport/1858/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(api): Ignore "parsed" link and icon urls when deleting
  • Loading branch information
nickvergessen authored Mar 21, 2024
2 parents ac15de0 + 5436ddf commit af89b37
Showing 1 changed file with 0 additions and 8 deletions.
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

0 comments on commit af89b37

Please sign in to comment.