HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once
This commit is contained in:
committed by
davidcallizaya
parent
d72b7aa561
commit
60efcf7ac7
@@ -305,9 +305,6 @@ class Language extends BaseLanguage
|
||||
//export
|
||||
public function export ()
|
||||
{
|
||||
G::LoadSystem( 'i18n_po' );
|
||||
G::LoadClass( "system" );
|
||||
|
||||
//get labels MichelangeloFE
|
||||
try {
|
||||
$oTranslation = new Translation();
|
||||
@@ -688,9 +685,6 @@ class Language extends BaseLanguage
|
||||
throw new Exception( 'Translation.php not exist in plugin ' . $plugin);
|
||||
}
|
||||
|
||||
G::LoadSystem( 'i18n_po' );
|
||||
G::LoadClass( "system" );
|
||||
|
||||
$language = new Language();
|
||||
|
||||
$locale = $language;
|
||||
|
||||
Reference in New Issue
Block a user