mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
parent
75b78c5ddb
commit
42ea7a5a05
@ -347,6 +347,18 @@ class IcingaHost extends IcingaObject implements ExportInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function beforeDelete()
|
||||||
|
{
|
||||||
|
foreach ($this->fetchServices() as $service) {
|
||||||
|
$service->delete();
|
||||||
|
}
|
||||||
|
foreach ($this->fetchServiceSets() as $set) {
|
||||||
|
$set->delete();
|
||||||
|
}
|
||||||
|
|
||||||
|
parent::beforeDelete();
|
||||||
|
}
|
||||||
|
|
||||||
public function hasAnyOverridenServiceVars()
|
public function hasAnyOverridenServiceVars()
|
||||||
{
|
{
|
||||||
$varname = $this->getServiceOverrivesVarname();
|
$varname = $this->getServiceOverrivesVarname();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user