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

@@ -46,10 +46,6 @@ try {
}
break;
case 'languagesList':
require_once 'classes/model/Language.php';
require_once 'classes/model/IsoCountry.php';
require_once 'classes/model/Translation.php';
G::loadClass( 'configuration' );
$isoCountry = new isoCountry();
$translationRow = new Translation();
@@ -69,8 +65,6 @@ try {
$countryName = G::LoadTranslation( 'ID_INTERNATIONAL' );
}
G::LoadClass( 'configuration' );
$conf = new Configurations();
$confCasesList = $conf->getConfiguration( 'casesList', 'todo' );
//echo date($confCasesList['dateformat'], '2010-01-01');