diff options
Diffstat (limited to 'plugins/Installation/FormGeneralSetup.php')
-rw-r--r-- | plugins/Installation/FormGeneralSetup.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/Installation/FormGeneralSetup.php b/plugins/Installation/FormGeneralSetup.php index a1b62aaaf9..0f9e8d0662 100644 --- a/plugins/Installation/FormGeneralSetup.php +++ b/plugins/Installation/FormGeneralSetup.php @@ -16,25 +16,6 @@ */ class Piwik_Installation_FormGeneralSetup extends Piwik_Form { - function __construct() - { - parent::__construct($action = '', $attributes = 'autocomplete="off"'); - } - - function validate() - { - try { - $login = $this->getSubmitValue('login'); - if(!empty($login)) - { - Piwik::checkValidLoginString($login); - } - } catch(Exception $e) { - $this->_errors['login'] = $e->getMessage(); - } - return parent::validate(); - } - function init() { $urlToGoAfter = 'index.php' . Piwik_Url::getCurrentQueryString(); |