mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CustomVariable: add delete() method
This commit is contained in:
parent
48a8e1ab63
commit
4780e11241
@ -45,12 +45,17 @@ abstract class CustomVariable implements IcingaConfigRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: implement delete()
|
// TODO: implement delete()
|
||||||
|
|
||||||
public function hasBeenDeleted()
|
public function hasBeenDeleted()
|
||||||
{
|
{
|
||||||
return $this->deleted;
|
return $this->deleted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function delete()
|
||||||
|
{
|
||||||
|
$this->deleted = true;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: abstract
|
// TODO: abstract
|
||||||
public function getDbValue()
|
public function getDbValue()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user