summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-16 16:18:43 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-09-16 16:18:43 +0200
commitd3680e682afe1402a92797b714b1307b168f43e1 (patch)
treeffc4aff22d3f6575a5fcdd7bc9a3d92354384792
parenta72edb0d0e79c1f82baa9a08d9e1b505a5e50165 (diff)
downloadnextcloud-server-d3680e682afe1402a92797b714b1307b168f43e1.tar.gz
nextcloud-server-d3680e682afe1402a92797b714b1307b168f43e1.zip
Remove not needed semicolon and PHPDoc hint
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-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(