Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -85,10 +85,6 @@ |
86 | 86 | |
87 | 87 | public function setMangler( $value ) { $this->mangler = $value; } |
88 | 88 | |
89 | | - protected $type = 'undefined'; |
90 | | - public function getType() { return $this->type; } |
91 | | - public function setType( $value ) { $this->type = $value; } |
92 | | - |
93 | 89 | public $namespaces = array( NS_MEDIAWIKI, NS_MEDIAWIKI_TALK ); |
94 | 90 | |
95 | 91 | public function getReader( $code ) { |
— | — | @@ -810,10 +806,6 @@ |
811 | 807 | return $this->title; |
812 | 808 | } |
813 | 809 | |
814 | | - public function getType() { |
815 | | - return 'mediawiki'; |
816 | | - } |
817 | | - |
818 | 810 | public function getDefinitions() { |
819 | 811 | $dbr = wfGetDB( DB_SLAVE ); |
820 | 812 | $tables = 'translate_sections'; |
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -227,7 +227,6 @@ |
228 | 228 | if ( isset( $info['aliasvar'] ) ) $group->setVariableNameAlias( $info['aliasvar'] ); |
229 | 229 | if ( isset( $info['magicfile'] ) ) $group->setMagicFile( $info['magicfile'] ); |
230 | 230 | |
231 | | - $group->setType( 'mediawiki' ); |
232 | 231 | return $group; |
233 | 232 | } |
234 | 233 | } |