Index: trunk/extensions/CentralAuth/SpecialGlobalGroupMembership.php |
— | — | @@ -58,7 +58,8 @@ |
59 | 59 | |
60 | 60 | ## Permission MUST be gained from global rights. |
61 | 61 | if ( $this->mGlobalUser->hasGlobalPermission( 'globalgroupmembership' ) ) { |
62 | | - return array( 'add' => $allGroups, 'remove' => $allGroups); |
| 62 | + #specify addself and removeself as empty arrays -- bug 16098 |
| 63 | + return array( 'add' => $allGroups, 'remove' => $allGroups, 'add-self' => array(), 'remove-self' => array() ); |
63 | 64 | } else { |
64 | 65 | return array(); |
65 | 66 | } |