mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
LdapDiscoveryPage: Prefer our form error implementation
This commit is contained in:
parent
f8034cfb9d
commit
9feb29d99b
@ -77,7 +77,7 @@ class LdapDiscoveryPage extends Form
|
|||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->addError(
|
$this->error(
|
||||||
sprintf($this->translate('Could not find any LDAP servers on the domain "%s".'), $data['domain'])
|
sprintf($this->translate('Could not find any LDAP servers on the domain "%s".'), $data['domain'])
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user