Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.inc |
— | — | @@ -517,8 +517,7 @@ |
518 | 518 | * Helper function to display a simple button |
519 | 519 | */ |
520 | 520 | 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, ''); |
523 | 522 | return " $button_html\n"; |
524 | 523 | } |
525 | 524 | |