1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 09:10:23 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -467,10 +467,10 @@ class newsletter
{
$mailMainID = $mailData['mail_source_id'] = $result;
}
else
{
//else
//{
// TODO: Handle error
}
//}
$mailer->mailInitCounters($mailMainID); // Initialise counters for emails added

View File

@@ -245,14 +245,14 @@ class newsletter_mailout
*/
public function sent($data) // trigerred when email sent from queue.
{
if($data['status'] == 1) // Successfully sent
{
// if($data['status'] == 1) // Successfully sent
// {
// e107::getLog()->add('Newsletter Sent', $data, E_LOG_INFORMATIVE, 'SENT');
}
else // Failed
{
// }
// else // Failed
// {
// e107::getLog()->add('Newsletter Sent', $data, E_LOG_FATAL, 'SENT');
}
// }
}
}