Index: trunk/extensions/UserRightsNotif/UserRightsNotif.php |
— | — | @@ -34,11 +34,11 @@ |
35 | 35 | } |
36 | 36 | |
37 | 37 | function efUserRightsNotifier( &$user, $added, $removed ) { |
38 | | - global $wgUserRightsNotif, $wgContentLang; |
| 38 | + global $wgUserRightsNotif; |
39 | 39 | if( $user->canReceiveEmail() ) { |
40 | 40 | global $wgUser, $wgSitename, $wgContLang; |
41 | | - $added = is_array( $added ) ? $wgContentLang->commaList( $added ) : ''; |
42 | | - $removed = is_array( $removed ) ? $wgContentLang->commaList( $removed ) : ''; |
| 41 | + $added = is_array( $added ) ? $wgContLang->commaList( $added ) : ''; |
| 42 | + $removed = is_array( $removed ) ? $wgContLang->commaList( $removed ) : ''; |
43 | 43 | $subject = wfMsg( 'userrightsnotifysubject', $wgSitename ); |
44 | 44 | $message = wfMsg( 'userrightsnotifybody', $user->getName(), $wgSitename, $wgUser->getName(), $wgContLang->timeAndDate( wfTimestampNow() ), $added, $removed ); |
45 | 45 | $user->sendMail( $subject, $message, $wgUserRightsNotif['sender'] ); |