jenkins-bot has submitted this change and it was merged.

Change subject: BSUserManager: Fixed RemoveGroups calculation
......................................................................


BSUserManager: Fixed RemoveGroups calculation

* Replaced getEffectiveGroups() with getGroups()
=> Needs Cherry-Pick to REL1_23

Change-Id: I2cbb749b8271bbe12f90c1b156eff89205dad544
---
M UserManager/UserManager.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/UserManager/UserManager.class.php 
b/UserManager/UserManager.class.php
index 2c98580..cb55c67 100644
--- a/UserManager/UserManager.class.php
+++ b/UserManager/UserManager.class.php
@@ -277,7 +277,7 @@
                        return Status::newFatal( 
'bs-usermanager-no-self-desysop' );
                }
 
-               $aCurrentGroups = $oUser->getEffectiveGroups();
+               $aCurrentGroups = $oUser->getGroups();
                $aSetGroups = array_diff( $aGroups, $aCurrentGroups );
                $aRemoveGroups = array_diff( $aCurrentGroups, $aGroups );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/304197
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2cbb749b8271bbe12f90c1b156eff89205dad544
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to