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
@@ -542,8 +542,6 @@ class spoolRun
|
||||
}
|
||||
break;
|
||||
case 'OPENMAIL':
|
||||
G::LoadClass( 'package' );
|
||||
G::LoadClass( 'smtp' );
|
||||
$pack = new package( $this->fileData );
|
||||
$header = $pack->returnHeader();
|
||||
$body = $pack->returnBody();
|
||||
@@ -592,9 +590,6 @@ class spoolRun
|
||||
*/
|
||||
public function resendEmails ($dateResend = null, $cron = 0)
|
||||
{
|
||||
if (!class_exists('System')) {
|
||||
G::LoadClass('system');
|
||||
}
|
||||
$aConfiguration = System::getEmailConfiguration();
|
||||
|
||||
if (!isset($aConfiguration["MESS_ENABLED"])) {
|
||||
|
||||
Reference in New Issue
Block a user