PM-4473
PM-4473
This commit is contained in:
@@ -1997,19 +1997,25 @@ class Cases
|
|||||||
if($taskNext->getTasType() == 'NORMAL'){
|
if($taskNext->getTasType() == 'NORMAL'){
|
||||||
if($oApplication->getAppStatus() == "DRAFT"){
|
if($oApplication->getAppStatus() == "DRAFT"){
|
||||||
$sUserUid = $appDel->getUsrUid();
|
$sUserUid = $appDel->getUsrUid();
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
$users = new Users();
|
$users = new Users();
|
||||||
$users->refreshTotal($sUserUid, "remove", "draft");
|
$users->refreshTotal($sUserUid, "remove", "draft");
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
}else{
|
}else{
|
||||||
$sUserUid = $appDel->getUsrUid();
|
$sUserUid = $appDel->getUsrUid();
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
$users = new Users();
|
$users = new Users();
|
||||||
$users->refreshTotal($sUserUid, "remove", "inbox");
|
$users->refreshTotal($sUserUid, "remove", "inbox");
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
//When start a case with SCRIPT-TASK WEBENTRYEVENT and the status is DRAFT
|
//When start a case with SCRIPT-TASK WEBENTRYEVENT and the status is DRAFT
|
||||||
if($oApplication->getAppStatus() == "DRAFT"){
|
if($oApplication->getAppStatus() == "DRAFT"){
|
||||||
$sUserUid = $appDel->getUsrUid();
|
$sUserUid = $appDel->getUsrUid();
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
$users = new Users();
|
$users = new Users();
|
||||||
$users->refreshTotal($sUserUid, "remove", "draft");
|
$users->refreshTotal($sUserUid, "remove", "draft");
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user