* Changed the name of the usersNumber method

This commit is contained in:
Visman 2018-11-12 21:28:42 +07:00
parent 7ff2129ede
commit 6a9665135e
2 changed files with 2 additions and 2 deletions

View file

@ -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 = [];

View file

@ -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;