mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
DeployConfigForm: inherit from DirectorForm
This commit is contained in:
parent
db31f337f1
commit
8c8c78b7c0
@ -8,16 +8,14 @@ use Icinga\Module\Director\Db;
|
|||||||
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
||||||
// use Icinga\Module\Director\Objects\DirectorDeploymentLog;
|
// use Icinga\Module\Director\Objects\DirectorDeploymentLog;
|
||||||
use Icinga\Module\Director\Util;
|
use Icinga\Module\Director\Util;
|
||||||
|
use Icinga\Module\Director\Web\Form\DirectorForm;
|
||||||
use Icinga\Module\Director\Web\Form\QuickForm;
|
use Icinga\Module\Director\Web\Form\QuickForm;
|
||||||
|
|
||||||
class DeployConfigForm extends QuickForm
|
class DeployConfigForm extends DirectorForm
|
||||||
{
|
{
|
||||||
/** @var DeploymentApiInterface */
|
/** @var DeploymentApiInterface */
|
||||||
private $api;
|
private $api;
|
||||||
|
|
||||||
/** @var Db */
|
|
||||||
private $db;
|
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $checksum;
|
private $checksum;
|
||||||
|
|
||||||
@ -119,10 +117,4 @@ class DeployConfigForm extends QuickForm
|
|||||||
$this->api = $api;
|
$this->api = $api;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDb(Db $db)
|
|
||||||
{
|
|
||||||
$this->db = $db;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user