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

@@ -27,9 +27,7 @@ function testConnection($type, $server, $user, $passwd, $port = 'none', $dbName
}
}
G::LoadClass('net');
$Server = new NET($server);
G::LoadSystem('inputfilter');
$filter = new InputFilter();
if ($Server->getErrno() == 0) {
@@ -113,7 +111,6 @@ switch ($request) {
$result->info = array();
//check the language, if no info in config about language, the default is 'en'
G::loadClass('configuration');
$oConf = new Configurations();
$oConf->loadConfig($x, 'APP_CACHE_VIEW_ENGINE', '', '', '', '');
$appCacheViewEngine = $oConf->aConfig;
@@ -216,7 +213,6 @@ switch ($request) {
break;
case 'build':
$sqlToExe = array();
G::LoadClass('configuration');
$conf = new Configurations();
//DEPRECATED $lang = $_POST['lang'];