PMC-1395 Fatal error: Declaration of remove()
This commit is contained in:
@@ -758,7 +758,7 @@ class headPublisher
|
|||||||
$sjson = $oServerConf->getProperty($keyState);
|
$sjson = $oServerConf->getProperty($keyState);
|
||||||
if ($sjson !== "") {
|
if ($sjson !== "") {
|
||||||
$json = G::json_decode($sjson);
|
$json = G::json_decode($sjson);
|
||||||
if ((is_array($json) || is_object($json)) && sizeof($json)){
|
if (is_iterable($json)) {
|
||||||
foreach ($json as $key => $value) {
|
foreach ($json as $key => $value) {
|
||||||
$views[$key] = $value;
|
$views[$key] = $value;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,9 +87,9 @@ class WorkflowBpmn extends Project\Workflow
|
|||||||
return parent::getList($start, $limit, $filter, $changeCaseTo);
|
return parent::getList($start, $limit, $filter, $changeCaseTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function remove()
|
public function remove($flagRemoveCases = true, $onlyDiagram = false)
|
||||||
{
|
{
|
||||||
parent::remove();
|
parent::remove($flagRemoveCases, $onlyDiagram);
|
||||||
$this->bp->remove();
|
$this->bp->remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user