Remove unneeded class left by r55879
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 6 Sep 2009 15:41:24 +0000 (15:41 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 6 Sep 2009 15:41:24 +0000 (15:41 +0000)
includes/HTMLForm.php

index b86c882..18dd506 100644 (file)
@@ -21,12 +21,12 @@ class HTMLForm {
                'int' => 'HTMLIntField',
                'float' => 'HTMLFloatField',
                'info' => 'HTMLInfoField',
-               'password' => 'HTMLPasswordField',
                'selectorother' => 'HTMLSelectOrOtherField',
                # HTMLTextField will output the correct type="" attribute automagically.
                # There are about four zillion other HTML 5 input types, like url, but
                # we don't use those at the moment, so no point in adding all of them.
                'email' => 'HTMLTextField',
+               'password' => 'HTMLTextField',
        );
 
        function __construct( $descriptor, $messagePrefix ) {
@@ -578,8 +578,6 @@ class HTMLTextField extends HTMLFormField {
        }
 }
 
-class HTMLPasswordField extends HTMLTextField {}
-
 class HTMLFloatField extends HTMLTextField {
        function getSize() {
                return isset( $this->mParams['size'] ) ? $this->mParams['size'] : 20;