r112989 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112988‎ | r112989 | r112990 >
Date:23:49, 4 March 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
kill obsolete compat code
Modified paths:
  • /trunk/extensions/SemanticResultFormats/BibTeX/SRF_BibTeX.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/BibTeX/SRF_BibTeX.php
@@ -203,12 +203,7 @@
204204 }
205205
206206 public function getParameters() {
207 - if ( defined( 'SMW_SUPPORTS_VALIDATOR' ) ) {
208 - return array_merge( parent::getParameters(), $this->exportFormatParameters() );
209 - }
210 - else {
211 - return parent::exportFormatParameters();
212 - }
 207+ return array_merge( parent::getParameters(), $this->exportFormatParameters() );
213208 }
214209
215210 }

Status & tagging log