Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -197,7 +197,7 @@ |
198 | 198 | $newGroups = $oldGroups; |
199 | 199 | |
200 | 200 | // Run a hook beforehand to allow extensions to modify the added/removed groups |
201 | | - wfRunHook( 'UserrightsSaveUserGroups', array( &$user, $oldGroups, &$add, &$remove, $reason ) ); |
| 201 | + wfRunHooks( 'UserrightsSaveUserGroups', array( &$user, $oldGroups, &$add, &$remove, $reason ) ); |
202 | 202 | |
203 | 203 | // remove then add groups |
204 | 204 | if( $remove ) { |