Move notification to the new paradigm
This commit is contained in:
parent
bc0734e0f1
commit
7a2d5f6a8e
16 changed files with 175 additions and 420 deletions
|
|
@ -5647,7 +5647,7 @@ function api_friendica_notification_seen($type)
|
|||
}
|
||||
|
||||
if ($Notify->uriId) {
|
||||
DI::dba()->update('notification', ['seen' => true], ['uid' => $Notify->uid, 'target-uri-id' => $Notify->uriId]);
|
||||
DI::notification()->setAllSeenForUser($Notify->uid, ['target-uri-id' => $Notify->uriId]);
|
||||
}
|
||||
|
||||
$Notify->setSeen();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue