LdapDiscoveryForm: Remove waste

This commit is contained in:
Johannes Meyer 2015-03-02 18:15:13 +01:00
parent 92a15a6ee4
commit 65eafc0e8f
1 changed files with 0 additions and 39 deletions

View File

@ -30,45 +30,6 @@ class LdapDiscoveryForm extends Form
)
);
if (false) {
$this->addElement(
'note',
'additional_description',
array(
'value' => $this->translate('No Ldap servers found on this domain.'
. ' You can try to specify host and port and try again, or just skip this step and '
. 'configure the server manually.'
)
)
);
$this->addElement(
'text',
'hostname',
array(
'required' => false,
'label' => $this->translate('Host'),
'description' => $this->translate('IP or hostname to search.'),
)
);
$this->addElement(
'text',
'port',
array(
'required' => false,
'label' => $this->translate('Port'),
'description' => $this->translate('Port', 389),
)
);
}
return $this;
}
public function isValid($data)
{
if (false === parent::isValid($data)) {
return false;
}
return true;
}
}