Skip to content

Commit 5502049

Browse files
Merge pull request #1860 from nextcloud/backport/1858/stable27
[stable27] fix(api): Ignore "parsed" link and icon urls when deleting
2 parents 22b4335 + b2b9092 commit 5502049

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)