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
@@ -11,8 +11,6 @@ $sWE_USR = $oData->WE_USR;
|
||||
|
||||
$withWS = $sWE_TYPE == 'WS';
|
||||
|
||||
G::LoadClass( "system" );
|
||||
|
||||
try {
|
||||
$pathProcess = PATH_DATA_SITE . 'public' . PATH_SEP . $sPRO_UID . PATH_SEP;
|
||||
G::mk_dir( $pathProcess, 0777 );
|
||||
@@ -24,7 +22,6 @@ try {
|
||||
throw (new Exception( "The task '" . $TaskFields['TAS_TITLE'] . "' doesn't have a valid assignment type. The task needs to have a 'Cyclical Assignment'." ));
|
||||
}
|
||||
|
||||
G::LoadClass( 'tasks' );
|
||||
$oTask = new Tasks();
|
||||
$user = $oTask->assignUsertoTask( $sTASKS );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user