HOR-2689 Removed instances of LoadSystem, LoadThirdParty

This commit is contained in:
Chloe Deguzman
2017-02-15 16:26:02 +00:00
committed by davidcallizaya
parent 60efcf7ac7
commit 5d3a4c073f
132 changed files with 285 additions and 302 deletions

View File

@@ -356,8 +356,8 @@ class Consolidated
$oCriteria->add($oCriteria->getNewCriterion(\ListInboxPeer::APP_NUMBER, $search, Criteria::LIKE));
}
}
G::LoadSystem('inputfilter');
$filter = new \InputFilter();
if ($sort != "") {

View File

@@ -143,7 +143,7 @@ class DynaForm
if ($dataDyna['DYN_TYPE'] == 'grid') {
$formsDepend = array();
\G::LoadSystem( 'dynaformhandler' );
$oCriteria = new \Criteria( 'workflow' );
$oCriteria->addSelectColumn( \DynaformPeer::DYN_UID );

View File

@@ -799,7 +799,7 @@ class Group
$rsCriteria->setFetchmode(\ResultSet::FETCHMODE_ASSOC);
if (isset($flagPermission) && $flagPermission) {
\G::LoadSystem('rbac');
while ($rsCriteria->next()) {
$row = $rsCriteria->getRow();

View File

@@ -186,7 +186,7 @@ class Light
///-- $c->addAsColumn('USR_NAME', "CONCAT(USR_LASTNAME, ' ', USR_FIRSTNAME)");
$sDataBase = 'database_' . strtolower(DB_ADAPTER);
if (G::LoadSystemExist($sDataBase)) {
G::LoadSystem($sDataBase);
$oDataBase = new \database();
$c->addAsColumn('USR_NAME', $oDataBase->concatString("USR_LASTNAME", "' '", "USR_FIRSTNAME"));
$c->addAsColumn(

View File

@@ -762,7 +762,7 @@ class Table
*/
public function _getDynafields ($pro_uid, $type = 'xmlform', $rep_tab_grid = '')
{
G::loadSystem( 'dynaformhandler' );
$oCriteria = new \Criteria( 'workflow' );
$oCriteria->addSelectColumn( \DynaformPeer::DYN_FILENAME );
@@ -1038,7 +1038,7 @@ class Table
throw (new \Exception("The property rep_tab_grid: '$rep_tab_grid' is incorrect."));
}
G::loadSystem('dynaformhandler');
$grids = array();
$namesGrid = array();
$aFieldsNames = array();

View File

@@ -524,7 +524,7 @@ class User
public function create(array $arrayData)
{
try {
\G::LoadSystem("rbac");
//Verify data
$validator = new \ProcessMaker\BusinessModel\Validator();
@@ -637,7 +637,7 @@ class User
public function update($userUid, array $arrayData, $userUidLogged)
{
try {
\G::LoadSystem("rbac");
//Verify data
$validator = new \ProcessMaker\BusinessModel\Validator();