Index: trunk/extensions/CentralAuth/SpecialGlobalGroupMembership.php |
— | — | @@ -93,14 +93,14 @@ |
94 | 94 | LogEventsList::showLogExtract( $output, 'gblrights', $pageTitle->getPrefixedText() ); |
95 | 95 | } |
96 | 96 | |
97 | | - static function addLogEntry( $user, $oldGroups, $newGroups, $reason ) { |
| 97 | + function addLogEntry( $user, $oldGroups, $newGroups ) { |
98 | 98 | global $wgRequest; |
99 | 99 | |
100 | 100 | $log = new LogPage( 'gblrights' ); |
101 | 101 | |
102 | 102 | $log->addEntry( 'usergroups', |
103 | 103 | $user->getUserPage(), |
104 | | - $reason, |
| 104 | + $wgRequest->getText( 'user-reason' ), |
105 | 105 | array( |
106 | 106 | $this->makeGroupNameList( $oldGroups ), |
107 | 107 | $this->makeGroupNameList( $newGroups ) |