From: Max Semenik Date: Tue, 26 Apr 2011 19:23:23 +0000 (+0000) Subject: Oops, forgot to revert r86954 in r86973, not needed anymore X-Git-Tag: 1.31.0-rc.0~30543 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=2da3d34301f16d41546c6f8f9d670b80fedbe9bf;p=lhc%2Fweb%2Fwiklou.git Oops, forgot to revert r86954 in r86973, not needed anymore --- diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index c6129dda54..f0aeebf612 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -96,11 +96,11 @@ class ApiUserrights extends ApiBase { ApiBase::PARAM_REQUIRED => true ), 'add' => array( - ApiBase::PARAM_TYPE => array_values( User::getAllGroups() ), + ApiBase::PARAM_TYPE => User::getAllGroups(), ApiBase::PARAM_ISMULTI => true ), 'remove' => array( - ApiBase::PARAM_TYPE => array_values( User::getAllGroups() ), + ApiBase::PARAM_TYPE => User::getAllGroups(), ApiBase::PARAM_ISMULTI => true ), 'token' => null,