mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ObjectController: phpcs, formattinObjectController: phpcs, formattingg
This commit is contained in:
parent
439a16d7b9
commit
f2abd3541e
@ -156,13 +156,14 @@ abstract class ObjectController extends ActionController
|
||||
$this->tabs()->activate('modify');
|
||||
|
||||
$formName = 'icinga' . ucfirst($this->getType());
|
||||
$this->content()->add($form = $this->loadForm($formName)
|
||||
->setDb($this->db())
|
||||
->setAuth($this->Auth())
|
||||
->setApi($this->getApiIfAvailable())
|
||||
->setObject($object)
|
||||
->setAuth($this->Auth())
|
||||
->handleRequest()
|
||||
$this->content()->add(
|
||||
$form = $this->loadForm($formName)
|
||||
->setDb($this->db())
|
||||
->setAuth($this->Auth())
|
||||
->setApi($this->getApiIfAvailable())
|
||||
->setObject($object)
|
||||
->setAuth($this->Auth())
|
||||
->handleRequest()
|
||||
);
|
||||
|
||||
$this->actions()->add($this->createCloneLink());
|
||||
|
Loading…
x
Reference in New Issue
Block a user