Skip to content

Commit 4ea35d0

Browse files
Merge pull request #1861 from nextcloud/backport/1858/stable26
[stable26] fix(api): Ignore "parsed" link and icon urls when deleting
2 parents 54ba8f1 + 11fde9a commit 4ea35d0

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)