mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-11 19:41:34 +00:00
- delete entries from tblWorkflowTransitionGroups when group is deleted
This commit is contained in:
parent
32caea8c02
commit
24c824cfcd
|
@ -218,6 +218,11 @@ class LetoDMS_Core_Group {
|
||||||
$db->rollbackTransaction();
|
$db->rollbackTransaction();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$queryStr = "DELETE FROM tblWorkflowTransitionGroups WHERE groupid = " . $this->_id;
|
||||||
|
if (!$db->getResult($queryStr)) {
|
||||||
|
$db->rollbackTransaction();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$queryStr = "DELETE FROM tblGroups WHERE id = " . $this->_id;
|
$queryStr = "DELETE FROM tblGroups WHERE id = " . $this->_id;
|
||||||
if (!$db->getResult($queryStr)) {
|
if (!$db->getResult($queryStr)) {
|
||||||
$db->rollbackTransaction();
|
$db->rollbackTransaction();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user