diff --git a/app/Http/Controllers/Settings/PrivacySettings.php b/app/Http/Controllers/Settings/PrivacySettings.php index ed5cf10e3..bca31b746 100644 --- a/app/Http/Controllers/Settings/PrivacySettings.php +++ b/app/Http/Controllers/Settings/PrivacySettings.php @@ -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) {