1
0
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:
Cameron
2020-12-18 09:39:02 -08:00
parent 582c48fc21
commit f5153bf640
55 changed files with 509 additions and 3218 deletions

View File

@@ -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
{