mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-13 00:44:25 +02:00
KickstartController: do not fail on missing schema
This commit is contained in:
parent
303e107f15
commit
b26b209b06
@ -10,9 +10,13 @@ class KickstartController extends DashboardController
|
||||
public function indexAction()
|
||||
{
|
||||
$this->singleTab($this->view->title = $this->translate('Kickstart'));
|
||||
$this->view->form = $this
|
||||
->loadForm('kickstart')
|
||||
->setEndpoint($this->db()->getDeploymentEndpoint())
|
||||
->handleRequest();
|
||||
$form = $this->view->form = $this->loadForm('kickstart');
|
||||
try {
|
||||
$form->setEndpoint($this->db()->getDeploymentEndpoint());
|
||||
} catch (Exception $e) {
|
||||
// Silently ignore DB errors
|
||||
}
|
||||
|
||||
$form->handleRequest();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user