This commit is contained in:
Paula V. Quispe
2015-12-08 10:54:49 -04:00
parent 32641fb07b
commit 05fa63932b

View File

@@ -2003,6 +2003,13 @@ class Cases
$users = new Users();
$users->refreshTotal($sUserUid, "remove", "inbox");
}
}else{
//When start a case with SCRIPT-TASK WEBENTRYEVENT and the status is DRAFT
if($oApplication->getAppStatus() == "DRAFT"){
$sUserUid = $appDel->getUsrUid();
$users = new Users();
$users->refreshTotal($sUserUid, "remove", "draft");
}
}
}
/*----------------------------------********---------------------------------*/