mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaTimePeriodRangeForm: simplify usage
This commit is contained in:
parent
cff14c8f80
commit
7a4d04b92f
@ -36,6 +36,7 @@ class IcingaTimePeriodRangeForm extends DirectorObjectForm
|
||||
public function setTimePeriod(IcingaTimePeriod $period)
|
||||
{
|
||||
$this->period = $period;
|
||||
$this->setDb($period->getConnection());
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user