From: Aryeh Gregor Date: Sun, 6 Sep 2009 15:41:24 +0000 (+0000) Subject: Remove unneeded class left by r55879 X-Git-Tag: 1.31.0-rc.0~39893 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=a20dd0e6abb78a3e281296c140a71f1a98471f81;p=lhc%2Fweb%2Fwiklou.git Remove unneeded class left by r55879 --- 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;