mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-16 09:20:53 -05:00
Renderer: blacklist some more parameters
This commit is contained in:
parent
549ec814ab
commit
eb866bf4b1
1 changed files with 14 additions and 1 deletions
|
|
@ -76,6 +76,14 @@ abstract class Renderer extends Html
|
|||
return $this->parent !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BpNode
|
||||
*/
|
||||
public function getParentNode()
|
||||
{
|
||||
return $this->parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BpNode[]
|
||||
*/
|
||||
|
|
@ -196,7 +204,12 @@ abstract class Renderer extends Html
|
|||
*/
|
||||
public function setUrl(Url $url)
|
||||
{
|
||||
$this->url = $url->without(array('simulationnode', 'deletenode'));
|
||||
$this->url = $url->without(array(
|
||||
'deletenode',
|
||||
'deleteparent',
|
||||
'editnode',
|
||||
'simulationnode'
|
||||
));
|
||||
$this->setBaseUrl($url);
|
||||
return $this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue