Flarum\Core\Notification\NotificationSyncer::setDeleted PHP Method

setDeleted() protected method

Set the deleted status of a list of notification records.
protected setDeleted ( array $ids, boolean $isDeleted )
$ids array
$isDeleted boolean
    protected function setDeleted(array $ids, $isDeleted)
    {
        Notification::whereIn('id', $ids)->update(['is_deleted' => $isDeleted]);
    }