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

@@ -36,8 +36,6 @@ require_once ('classes/model/SubApplication.php');
require_once ('classes/model/SubProcess.php');
require_once ("classes/model/Users.php");
G::LoadClass( "plugin" );
/**
* derivation - derivation class
*
@@ -168,10 +166,6 @@ class Derivation
public function prepareInformation(array $arrayData, $taskUid = "")
{
try {
if (!class_exists("Cases")) {
G::LoadClass("case");
}
$this->case = new Cases();
$task = new Task();
@@ -223,8 +217,6 @@ class Derivation
//Evaluate the condition if there are conditions defined
if (trim($arrayRouteData["ROU_CONDITION"]) != "" && $arrayRouteData["ROU_TYPE"] != "SELECT") {
G::LoadClass("pmScript");
$pmScript = new PMScript();
$pmScript->setFields($arrayApplicationData["APP_DATA"]);
$pmScript->setScript($arrayRouteData["ROU_CONDITION"]);
@@ -1743,8 +1735,6 @@ class Derivation
function getGrpUser ($aData)
{
G::LoadClass( 'groups' );
G::LoadClass( 'tasks' );
require_once 'classes/model/Content.php';
$oTasks = new Tasks();
$oGroups = new Groups();