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}");
|
self::log("Remove Project With Uid: {$this->prjUid}");
|
||||||
|
foreach ($this->getEvents() as $event) {
|
||||||
|
$this->removeEvent($event["EVN_UID"]);
|
||||||
|
}
|
||||||
foreach ($this->getActivities() as $activity) {
|
foreach ($this->getActivities() as $activity) {
|
||||||
$this->removeActivity($activity["ACT_UID"]);
|
$this->removeActivity($activity["ACT_UID"]);
|
||||||
}
|
}
|
||||||
foreach ($this->getGateways() as $gateway) {
|
foreach ($this->getGateways() as $gateway) {
|
||||||
$this->removeGateway($gateway["GAT_UID"]);
|
$this->removeGateway($gateway["GAT_UID"]);
|
||||||
}
|
}
|
||||||
foreach ($this->getEvents() as $event) {
|
|
||||||
$this->removeEvent($event["EVN_UID"]);
|
|
||||||
}
|
|
||||||
foreach ($this->getFlows() as $flow) {
|
foreach ($this->getFlows() as $flow) {
|
||||||
$this->removeFlow($flow["FLO_UID"]);
|
$this->removeFlow($flow["FLO_UID"]);
|
||||||
}
|
}
|
||||||
@@ -485,8 +485,8 @@ class Bpmn extends Handler
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
self::log("Remove Event: $evnUid");
|
self::log("Remove Event: $evnUid");
|
||||||
|
|
||||||
$event = EventPeer::retrieveByPK($evnUid);
|
$event = EventPeer::retrieveByPK($evnUid);
|
||||||
|
|
||||||
$event->delete();
|
$event->delete();
|
||||||
|
|
||||||
self::log("Remove Event Success!");
|
self::log("Remove Event Success!");
|
||||||
|
|||||||
Reference in New Issue
Block a user