Improvement to avoid the old queries for get the cases list
This commit is contained in:
@@ -93,11 +93,11 @@ try {
|
|||||||
$oTasks = new Tasks();
|
$oTasks = new Tasks();
|
||||||
$oGroups = new Groups();
|
$oGroups = new Groups();
|
||||||
$oUser = new Users();
|
$oUser = new Users();
|
||||||
G::LoadClass( 'case' );
|
|
||||||
$oCases = new Cases();
|
|
||||||
|
|
||||||
list ($oCriteriaToDo, $sXMLFile) = $oCases->getConditionCasesList( 'to_do', $sUserToReassign );
|
$oAppCache = new AppCacheView();
|
||||||
list ($oCriteriaDraft, $sXMLFile) = $oCases->getConditionCasesList( 'draft', $sUserToReassign );
|
|
||||||
|
$oCriteriaToDo = $oAppCache->getToDoListCriteria($sUserToReassign);
|
||||||
|
$oCriteriaDraft = $oAppCache->getDraftListCriteria($sUserToReassign);
|
||||||
|
|
||||||
$aCasesList = Array ();
|
$aCasesList = Array ();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user