Index: trunk/phase3/maintenance/languages.inc |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | * file multiple time :((( |
8 | 8 | */ |
9 | 9 | require_once('commandLine.inc'); |
10 | | -require_once('languages/Language.php'); |
| 10 | + |
11 | 11 | class languages { |
12 | 12 | /** Contain the list of languages available */ |
13 | 13 | var $list = array(); |
— | — | @@ -45,17 +45,4 @@ |
46 | 46 | |
47 | 47 | function getList() { return $this->list; } |
48 | 48 | } |
49 | | - |
50 | | -function getMessages($langcode) { |
51 | | - global $wgAllMessagesEn, $wgSkinNamesEn, $wgNamespaceNamesEn, $wgBookstoreListEn,$wgMagicWordsEn,$wgUserTogglesEn; |
52 | | - |
53 | | - $arr = 'wgAllMessages'.$langcode; |
54 | | - global $$arr; |
55 | | - |
56 | | - if(!isset($$arr)) { |
57 | | - require_once( 'languages/Language'.$langcode.'.php' ); |
58 | | - } |
59 | | - return $$arr; |
60 | | -} |
61 | | - |
62 | 49 | ?> |