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

@@ -303,7 +303,6 @@ class AppCacheView extends BaseAppCacheView
}
//check groups assigned to SelfService task
G::LoadClass('groups');
$group = new Groups();
$aGroups = $group->getActiveGroupsForAnUser($userUid);
@@ -335,8 +334,6 @@ class AppCacheView extends BaseAppCacheView
public function getSelfServiceCasesByEvaluate($userUid)
{
try {
G::LoadClass("groups");
$arrayAppAssignSelfServiceValueData = array();
//Get APP_UIDs
@@ -384,9 +381,6 @@ class AppCacheView extends BaseAppCacheView
public function getUnassigned($userUid, $doCount)
{
//get the valid selfservice tasks for this user
if (!class_exists('Cases')) {
G::loadClass('case');
}
$oCase = new Cases();
$tasks = $this->getSelfServiceTasks( $userUid );
@@ -1689,7 +1683,6 @@ class AppCacheView extends BaseAppCacheView
public function replaceRowUserData($rowData)
{
try {
G::loadClass('configuration');
$oConfig = new Configuration();
$aConfig = $oConfig->load('ENVIRONMENT_SETTINGS');
$aConfig = unserialize($aConfig['CFG_VALUE']);