mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Rename discussion.participantsCount
This commit is contained in:
@@ -242,11 +242,11 @@ class Discussion extends AbstractModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Refresh the discussion's participants count.
|
||||
* Refresh the discussion's participant count.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function refreshParticipantsCount()
|
||||
public function refreshParticipantCount()
|
||||
{
|
||||
$this->participant_count = $this->participants()->count('users.id');
|
||||
|
||||
|
Reference in New Issue
Block a user