Fix delete project bpmn, timer start.
This commit is contained in:
@@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user