Fix typo in r52082
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 18 Jun 2009 14:02:55 +0000 (14:02 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 18 Jun 2009 14:02:55 +0000 (14:02 +0000)
includes/specials/SpecialUserrights.php

index 7e2c51b..41e7f79 100644 (file)
@@ -197,7 +197,7 @@ class UserrightsPage extends SpecialPage {
                $newGroups = $oldGroups;
 
                // Run a hook beforehand to allow extensions to modify the added/removed groups
-               wfRunHook( 'UserrightsSaveUserGroups', array( &$user, $oldGroups, &$add, &$remove, $reason ) );
+               wfRunHooks( 'UserrightsSaveUserGroups', array( &$user, $oldGroups, &$add, &$remove, $reason ) );
 
                // remove then add groups
                if( $remove ) {