PMCORE-3639
This commit is contained in:
@@ -408,17 +408,19 @@ class Bpmn extends Handler
|
|||||||
$project->delete();
|
$project->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
$process = new Processes();
|
if (!$force) {
|
||||||
$repTable = $process->getReportTables($this->getUid());
|
$process = new Processes();
|
||||||
$rows = [];
|
$repTable = $process->getReportTables($this->getUid());
|
||||||
foreach ($repTable as $table) {
|
$rows = [];
|
||||||
array_push($rows, ["id" => $table["ADD_TAB_UID"], "type" => ""]);
|
foreach ($repTable as $table) {
|
||||||
}
|
array_push($rows, ["id" => $table["ADD_TAB_UID"], "type" => ""]);
|
||||||
if (!empty($rows)) {
|
}
|
||||||
$httpData = (object)[];
|
if (!empty($rows)) {
|
||||||
$httpData->rows = json_encode($rows);
|
$httpData = (object)[];
|
||||||
$repTable = new pmTablesProxy();
|
$httpData->rows = json_encode($rows);
|
||||||
$repTable->delete($httpData);
|
$repTable = new pmTablesProxy();
|
||||||
|
$repTable->delete($httpData);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self::log("Remove Project Success!");
|
self::log("Remove Project Success!");
|
||||||
@@ -1689,5 +1691,4 @@ class Bpmn extends Handler
|
|||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user