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
@@ -55,9 +55,6 @@ if ((int) $_SESSION['INDEX'] < 1) {
|
||||
G::header( 'location: ' . $_SERVER['HTTP_REFERER'] );
|
||||
die();
|
||||
}
|
||||
/* Includes */
|
||||
G::LoadClass( 'case' );
|
||||
G::LoadClass( 'derivation' );
|
||||
|
||||
/* Menues */
|
||||
$G_MAIN_MENU = 'processmaker';
|
||||
@@ -142,14 +139,13 @@ if (! isset( $_GET['ex'] )) {
|
||||
$_GET['ex'] = $_GET['position'];
|
||||
}
|
||||
|
||||
G::LoadClass( 'dbConnections' );
|
||||
$oDbConnections = new dbConnections( $_SESSION['PROCESS'] );
|
||||
$oDbConnections->loadAdditionalConnections();
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
if ($_GET['DYN_UID'] != '') {
|
||||
$_SESSION['CURRENT_DYN_UID'] = $_GET['DYN_UID'];
|
||||
G::LoadClass('pmDynaform');
|
||||
|
||||
$FieldsPmDynaform = $Fields;
|
||||
$FieldsPmDynaform["PRO_UID"] = $_SESSION['PROCESS'];
|
||||
$FieldsPmDynaform["CURRENT_DYNAFORM"] = $_GET['DYN_UID'];
|
||||
|
||||
Reference in New Issue
Block a user