MonitoringWizard: Prefer our form error implementation

This commit is contained in:
Johannes Meyer 2015-07-02 09:45:00 +02:00
parent d69ab427a6
commit 3b63868ed9
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class MonitoringWizard extends Wizard implements SetupWizard
|| (($ldapResourceData = $this->getPageData('setup_ldap_resource')) !== null
&& $ldapResourceData['name'] === $request->getPost('name'))
) {
$page->addError(mt('monitoring', 'The given resource name is already in use.'));
$page->error(mt('monitoring', 'The given resource name is already in use.'));
}
}
}