mirror of
https://github.com/flarum/core.git
synced 2025-08-13 20:04:24 +02:00
lists > pluck
This commit is contained in:
@@ -106,7 +106,7 @@ class NotificationSyncer
|
||||
// removed from this collection by the above loop. Un-delete the
|
||||
// existing records that we want to keep.
|
||||
if (count($toDelete)) {
|
||||
$this->setDeleted($toDelete->lists('id')->all(), true);
|
||||
$this->setDeleted($toDelete->pluck('id')->all(), true);
|
||||
}
|
||||
|
||||
if (count($toUndelete)) {
|
||||
|
Reference in New Issue
Block a user