mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-10 14:33:04 -05:00
ProcessChanges: fit changed NodeRemove api
This commit is contained in:
parent
1fc6634b75
commit
40165353d8
1 changed files with 2 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ class ProcessChanges
|
|||
|
||||
/**
|
||||
* @param Node|string $nodeName
|
||||
* @param object $properties
|
||||
* @param array $properties
|
||||
* @param Node $parent
|
||||
*
|
||||
* @return $this
|
||||
|
|
@ -102,7 +102,7 @@ class ProcessChanges
|
|||
public function deleteNode(Node $node, array $path)
|
||||
{
|
||||
$action = new NodeRemoveAction($node);
|
||||
$action->setProperties('path', $path);
|
||||
$action->setPath($path);
|
||||
return $this->push($action);
|
||||
}
|
||||
|
||||
|
|
@ -120,7 +120,6 @@ class ProcessChanges
|
|||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get all stacked actions
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue