* Changed the name of the usersNumber method
This commit is contained in:
parent
7ff2129ede
commit
6a9665135e
2 changed files with 2 additions and 2 deletions
|
@ -637,7 +637,7 @@ class Groups extends Admin
|
|||
return $this->c->Message->message('Bad request');
|
||||
}
|
||||
|
||||
$count = $this->c->users->UsersNumber($group);
|
||||
$count = $this->c->users->usersNumber($group);
|
||||
if ($count) {
|
||||
$move = 'required|integer|in:';
|
||||
$groups = [];
|
||||
|
|
|
@ -14,7 +14,7 @@ class UsersNumber extends Action
|
|||
*
|
||||
* @return int
|
||||
*/
|
||||
public function UsersNumber(Group $group)
|
||||
public function usersNumber(Group $group)
|
||||
{
|
||||
if (empty($group->g_id) || $group->g_id === $this->c->GROUP_GUEST) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue