Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -45,9 +45,8 @@ |
46 | 46 | $wgJobClasses['renameUser'] = 'RenameUserJob'; |
47 | 47 | |
48 | 48 | function wfSpecialRenameuser() { |
49 | | - # Add messages |
50 | 49 | global $wgMessageCache, $wgRenameuserMessages; |
51 | | - foreach( $wgRenameuserMessages as $key => $value ) { |
52 | | - $wgMessageCache->addMessages( $wgRenameuserMessages[$key], $key ); |
| 50 | + foreach( $wgRenameuserMessages as $lang => $messages ) { |
| 51 | + $wgMessageCache->addMessages( $messages, $lang ); |
53 | 52 | } |
54 | 53 | } |
\ No newline at end of file |