From 2da3d34301f16d41546c6f8f9d670b80fedbe9bf Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Tue, 26 Apr 2011 19:23:23 +0000 Subject: [PATCH] Oops, forgot to revert r86954 in r86973, not needed anymore --- includes/api/ApiUserrights.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.20.1