mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
Code cleanup
This commit is contained in:
@@ -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
|
||||
|
@@ -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');
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user