r63514 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63513‎ | r63514 | r63515 >
Date:21:55, 9 March 2010
Author:yaron
Status:deferred
Tags:
Comment:
Re-removed backwards-compatibility for MW < 1.13
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormUtils.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.inc
@@ -517,8 +517,7 @@
518518 * Helper function to display a simple button
519519 */
520520 static function buttonHTML($values) {
521 - // for backwards-compatibility with pre-1.13 MW
522 - $button_html = function_exists("Xml::element") ? Xml::element('input', $values, '') : wfElement('input', $values, '');
 521+ $button_html = Xml::element('input', $values, '');
523522 return " $button_html\n";
524523 }
525524

Status & tagging log