HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once
This commit is contained in:
committed by
davidcallizaya
parent
d72b7aa561
commit
60efcf7ac7
@@ -59,7 +59,6 @@ class AppProxy extends HttpProxyController
|
||||
throw new Exception(G::LoadTranslation("ID_RESOLVE_APPLICATION_ID"));
|
||||
}
|
||||
|
||||
G::LoadClass( 'case' );
|
||||
$case = new Cases();
|
||||
|
||||
if (!isset($_SESSION['PROCESS']) && !isset($httpData->pro)) {
|
||||
@@ -185,7 +184,6 @@ class AppProxy extends HttpProxyController
|
||||
break;
|
||||
}
|
||||
|
||||
G::LoadClass( 'case' );
|
||||
$case = new Cases();
|
||||
|
||||
if ($httpData->action == 'sent') { // Get the last valid delegation for participated list
|
||||
@@ -236,7 +234,6 @@ class AppProxy extends HttpProxyController
|
||||
$formCaseTitle = new Form( 'cases/cases_Resume_Current_Task_Title', PATH_XMLFORM, SYS_LANG );
|
||||
$formCurrentTaskProperties = new Form( 'cases/cases_Resume_Current_Task', PATH_XMLFORM, SYS_LANG );
|
||||
|
||||
G::LoadClass( 'case' );
|
||||
$case = new Cases();
|
||||
|
||||
foreach ($formCaseProperties->fields as $fieldName => $field) {
|
||||
|
||||
Reference in New Issue
Block a user