Skip to content

Commit

Permalink
Merge pull request #1858 from nextcloud/bugfix/noid/ignore-icon-and-l…
Browse files Browse the repository at this point in the history
…ink-on-deletion

fix(api): Ignore "parsed" link and icon urls when deleting
  • Loading branch information
nickvergessen authored Mar 21, 2024
2 parents 889fb61 + f343dc1 commit ede7be8
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 ede7be8

Please sign in to comment.