From a20dd0e6abb78a3e281296c140a71f1a98471f81 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 6 Sep 2009 15:41:24 +0000 Subject: [PATCH] Remove unneeded class left by r55879 --- includes/HTMLForm.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index b86c882193..18dd506555 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -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; -- 2.20.1