Se modifica la funcionalidad de start event para Case Scheduler y Web Entry (remove event, add flow)

This commit is contained in:
Daniel Rojas
2014-04-28 16:55:12 -04:00
parent 71b36966ed
commit 517924b38a
2 changed files with 4 additions and 32 deletions

View File

@@ -668,8 +668,6 @@ class Workflow extends Handler
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
$this->removeCaseScheduler($aRow['EVN_UID']);
$this->removeWebEntry($aRow['EVN_UID']);
$oEvent->remove($aRow['EVN_UID']);
$oDataset->next();
}
@@ -818,7 +816,7 @@ class Workflow extends Handler
}
}
public function removeCaseScheduler($schUid)
public static function removeCaseScheduler($schUid)
{
try {
$caseScheduler = new \CaseScheduler();
@@ -862,7 +860,7 @@ class Workflow extends Handler
}
}
public function removeWebEntry($weUid)
public static function removeWebEntry($weUid)
{
try {
$webEntry = new \ProcessMaker\BusinessModel\WebEntry();