Update PrivacySettings.php

pull/7249/head
Shlee 1 week ago committed by GitHub
parent 7b90bc8699
commit 7a5626766e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -226,9 +226,6 @@ trait PrivacySettings
break;
case 'remove-all':
// No restrictive ->select() here: chunkById needs the primary
// key ('id') to paginate. profile_id/following_id still come
// back on the full model for the dispatched job.
Follower::whereFollowingId($profile->id)
->chunkById(100, function ($followers) {
foreach ($followers as $follower) {

Loading…
Cancel
Save