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()
|
||||
|
||||
public function hasBeenDeleted()
|
||||
{
|
||||
return $this->deleted;
|
||||
}
|
||||
|
||||
public function delete()
|
||||
{
|
||||
$this->deleted = true;
|
||||
return $this;
|
||||
}
|
||||
|
||||
// TODO: abstract
|
||||
public function getDbValue()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue