diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index e228ebd881..1bdd26316a 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -214,7 +214,7 @@ class UsersController extends Controller { $groups[$key]['usercount']--; $userCount -= 1; // we also lower from one the total count } - }; + } $userCount += $this->userManager->countUsersOfGroups($groupsInfo->getGroups()); $disabledUsers = $this->userManager->countDisabledUsersOfGroups($groupsNames); } diff --git a/lib/private/Group/MetaData.php b/lib/private/Group/MetaData.php index 21857b6c8f..46fa7c250b 100644 --- a/lib/private/Group/MetaData.php +++ b/lib/private/Group/MetaData.php @@ -55,7 +55,6 @@ class MetaData { * @param string $user the uid of the current user * @param bool $isAdmin whether the current users is an admin * @param IGroupManager $groupManager - * @param IUserManager $userManager * @param IUserSession $userSession */ public function __construct(