mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Updating of deprecated method usage. Removal of old files. Log tests added.
This commit is contained in:
@@ -624,7 +624,7 @@ class mailout_main_ui extends e_admin_ui
|
||||
else
|
||||
{
|
||||
$mes->addSuccess(LAN_MAILOUT_81. ' ('.$sendto.')');
|
||||
e107::getAdminLog()->log_event('MAIL_01', $sendto, E_LOG_INFORMATIVE,'');
|
||||
e107::getAdminLog()->add('MAIL_01', $sendto, E_LOG_INFORMATIVE,'');
|
||||
}
|
||||
|
||||
|
||||
@@ -750,7 +750,7 @@ class mailout_main_ui extends e_admin_ui
|
||||
if ($this->mailAdmin->activateEmail($mailId, FALSE, $notify, $first, $last))
|
||||
{
|
||||
e107::getMessage()->addSuccess(LAN_MAILOUT_185);
|
||||
$log->log_event('MAIL_06','ID: '.$mailId,E_LOG_INFORMATIVE,'');
|
||||
$log->add('MAIL_06','ID: '.$mailId,E_LOG_INFORMATIVE,'');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user