PMC-1395 Fatal error: Declaration of remove()

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-11-26 08:35:43 -04:00
parent 40bb7f17a7
commit edf16e4d0a
2 changed files with 3 additions and 3 deletions

View File

@@ -87,9 +87,9 @@ class WorkflowBpmn extends Project\Workflow
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();
}