Fix delete project bpmn, timer start.

This commit is contained in:
Daniel Rojas
2014-06-25 09:15:33 -04:00
parent fd0a5b2bd2
commit 15c178540a

View File

@@ -154,15 +154,15 @@ class Bpmn extends Handler
}
self::log("Remove Project With Uid: {$this->prjUid}");
foreach ($this->getEvents() as $event) {
$this->removeEvent($event["EVN_UID"]);
}
foreach ($this->getActivities() as $activity) {
$this->removeActivity($activity["ACT_UID"]);
}
foreach ($this->getGateways() as $gateway) {
$this->removeGateway($gateway["GAT_UID"]);
}
foreach ($this->getEvents() as $event) {
$this->removeEvent($event["EVN_UID"]);
}
foreach ($this->getFlows() as $flow) {
$this->removeFlow($flow["FLO_UID"]);
}
@@ -485,8 +485,8 @@ class Bpmn extends Handler
{
try {
self::log("Remove Event: $evnUid");
$event = EventPeer::retrieveByPK($evnUid);
$event->delete();
self::log("Remove Event Success!");