summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings/lib/Controller/UsersController.php2
-rw-r--r--lib/private/Group/MetaData.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php
index e228ebd8811..1bdd26316af 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 21857b6c8f0..46fa7c250b2 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(