Fix Laravel 5.1 compat

closes #307
This commit is contained in:
Toby Zerner 2015-08-31 14:07:11 +09:30
parent 7b0f599b48
commit e49ffeea35

View File

@ -100,7 +100,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'), true);
$this->setDeleted($toDelete->lists('id')->all(), true);
}
if (count($toUndelete)) {