Merge pull request #6926 from pixelfed/feature/user-status-command

Update stale command-name reference in comment to admin:fixProfileCounts
pull/6925/head
Shlee 4 weeks ago committed by GitHub
commit c086f20d3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,7 +69,7 @@ class AccountPostCountStatUpdate extends Command
// Reconcile only the status_count column (this queue is fed by
// status create/delete events). Shared recompute logic lives in
// AccountStatService so it stays consistent with fix:profilecounts.
// AccountStatService so it stays consistent with admin:fixProfileCounts.
AccountStatService::reconcileProfileCounts($profile, ['statuses']);
AccountStatService::removeFromPostCount($id);

Loading…
Cancel
Save