summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-16 20:44:46 +0200
committerGitHub <noreply@github.com>2020-09-16 20:44:46 +0200
commit1bed77c5fcfc2a47a086d2a2773389da6c087d15 (patch)
treee5f84eb82592c14161fbc2d90b18ac5448f7c02a
parent8f30e6134457fcfa5d4f16be983570781afe9663 (diff)
parentd3680e682afe1402a92797b714b1307b168f43e1 (diff)
downloadnextcloud-server-1bed77c5fcfc2a47a086d2a2773389da6c087d15.tar.gz
nextcloud-server-1bed77c5fcfc2a47a086d2a2773389da6c087d15.zip
Merge pull request #22888 from nextcloud/techdebt/18680/remove-unused-code
Remove not needed semicolon and PHPDoc hint
-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(