1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

New event trigger names reworked. Replaced all '-' with '_' for compatibility with e_notify.

This commit is contained in:
Cameron
2015-02-12 16:52:30 -08:00
parent 3e802c2751
commit dab64ca165
13 changed files with 41 additions and 32 deletions

View File

@@ -135,14 +135,14 @@ class e107Bounce
switch($the['action'])
{
case 'failed':
e107::getEvent()->trigger('email-bounce-failed', $the);
e107::getEvent()->trigger('email_bounce_failed', $the);
$this->setUser_Bounced(null, $the['user_email']);
break;
case 'transient':
// $num_attempts = delivery_attempts($the['user_email']);
e107::getEvent()->trigger('email-bounce-transient', $the);
e107::getEvent()->trigger('email_bounce_transient', $the);
if($num_attempts > 10)
{
$this->setUser_Bounced($the['user_id'], $the['user_email']);
@@ -154,7 +154,7 @@ class e107Bounce
break;
case 'autoreply':
e107::getEvent()->trigger('email-bounce-autoreply', $the);
e107::getEvent()->trigger('email_bounce_autoreply', $the);
// postpone($the['user_email'], '7 days');
break;