Remove unused local variable
authorMichael Tänzer <neo@nhng.de>
Sun, 25 Apr 2010 22:43:19 +0000 (00:43 +0200)
committerMichael Tänzer <neo@nhng.de>
Sun, 25 Apr 2010 22:43:19 +0000 (00:43 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
manager/application/controllers/LoginController.php

index 08a9519..db6303e 100644 (file)
@@ -214,9 +214,6 @@ class LoginController extends Zend_Controller_Action
        $form->setAction('/login/login')\r
                         ->setMethod('post');\r
                #$form->setAttrib('id', 'loginform');\r
-               $al = new Zend_Validate_Alnum();\r
-               $al->setDefaultTranslator(I18n::getTranslate());\r
-               $al->setDisableTranslator(false);\r
                $username = new Zend_Form_Element_Text('login_name');\r
                $username->setRequired(true)\r
                                 ->setLabel(I18n::_('User Name'))\r