Index: trunk/phase3/includes/api/ApiUserrights.php |
— | — | @@ -96,11 +96,11 @@ |
97 | 97 | ApiBase::PARAM_REQUIRED => true |
98 | 98 | ), |
99 | 99 | 'add' => array( |
100 | | - ApiBase::PARAM_TYPE => array_values( User::getAllGroups() ), |
| 100 | + ApiBase::PARAM_TYPE => User::getAllGroups(), |
101 | 101 | ApiBase::PARAM_ISMULTI => true |
102 | 102 | ), |
103 | 103 | 'remove' => array( |
104 | | - ApiBase::PARAM_TYPE => array_values( User::getAllGroups() ), |
| 104 | + ApiBase::PARAM_TYPE => User::getAllGroups(), |
105 | 105 | ApiBase::PARAM_ISMULTI => true |
106 | 106 | ), |
107 | 107 | 'token' => null, |