HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once

This commit is contained in:
Chloe Deguzman
2017-02-14 21:24:08 +00:00
committed by davidcallizaya
parent d72b7aa561
commit 60efcf7ac7
461 changed files with 289 additions and 3170 deletions

View File

@@ -35,7 +35,6 @@ if (isset( $_GET['TRI_UID'] )) {
$aFields['TRI_TYPE'] = 'SCRIPT';
}
G::LoadClass( 'xmlfield_InputPM' );
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', 'triggers/triggersProperties', '', $aFields, '../triggers/triggers_Save' );
G::RenderPage( 'publish', 'raw' );

View File

@@ -70,7 +70,7 @@ if (isset( $_GET['TRI_UID'] )) {
}
$aFields['STEP_UID'] = isset($_GET['STEP_UID'])?$_GET['STEP_UID']:'';
$aFields['ST_TYPE'] = isset($_GET['ST_TYPE'])?$_GET['ST_TYPE']:'';
G::LoadClass( 'xmlfield_InputPM' );
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', $xmlform, '', $aFields, $xmlform_action );
$oHeadPublisher =& headPublisher::getSingleton();

View File

@@ -36,7 +36,6 @@ if (isset( $_GET['TRI_UID'] ) && ($_GET['TRI_UID'] != "")) {
}
$xmlform = 'triggers/triggersCustom';
G::LoadClass( 'xmlfield_InputPM' );
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', $xmlform, '', $aFields, '../triggers/triggers_Save' );
$oHeadPublisher =& headPublisher::getSingleton();

View File

@@ -42,7 +42,6 @@ if (isset( $sfunction ) && $sfunction == 'lookforNameTrigger') {
echo $oTrigger->verifyNameTrigger($sPRO_UID, $snameTrigger);
} else {
G::LoadClass("processMap");
$response = array();
@@ -61,7 +60,6 @@ if (isset( $sfunction ) && $sfunction == 'lookforNameTrigger') {
isset($value["TRI_WEBBOT"])
) {
//Check disabled code
G::LoadClass("codeScanner");
$cs = new CodeScanner(SYS_SYS);

View File

@@ -28,7 +28,6 @@ if (($RBAC_Response = $RBAC->userCanAccess("PM_FACTORY")) != 1) {
require_once ('classes/model/Triggers.php');
$oTrigger = new Triggers();
G::LoadClass('processMap');
$oProcessMap = new processMap(new DBConnection());
$aDataTriggers = $_POST;

View File

@@ -30,7 +30,6 @@ if (!class_exists('Triggers')) {
}
$oTrigger = new Triggers();
G::LoadClass('processMap');
$oProcessMap = new processMap(new DBConnection());
$aDataTriggers = $_POST;