aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiUserrights.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiUserrights.php')
-rw-r--r--includes/api/ApiUserrights.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php
index 4664e1ea8487..be98a21c2b60 100644
--- a/includes/api/ApiUserrights.php
+++ b/includes/api/ApiUserrights.php
@@ -41,10 +41,10 @@ class ApiUserrights extends ApiBase {
$form->setContext( $this->getContext() );
$r['user'] = $user->getName();
$r['userid'] = $user->getId();
- list( $r['added'], $r['removed'] ) =
- $form->doSaveUserGroups(
- $user, (array)$params['add'],
- (array)$params['remove'], $params['reason'] );
+ list( $r['added'], $r['removed'] ) = $form->doSaveUserGroups(
+ $user, (array)$params['add'],
+ (array)$params['remove'], $params['reason']
+ );
$result = $this->getResult();
$result->setIndexedTagName( $r['added'], 'group' );