1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +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

@@ -56,7 +56,7 @@ class private_message
{
$this->pm_send_receipt($pm_info);
}
e107::getEvent()->trigger('user-pm-read', $pm_id);
e107::getEvent()->trigger('user_pm_read', $pm_id);
}
}
@@ -211,7 +211,7 @@ class private_message
if($pmid = $sql->insert('private_msg', $info))
{
e107::getEvent()->trigger('user-pm-sent', $info);
e107::getEvent()->trigger('user_pm_sent', $info);
if($class == FALSE)
{
$toclass .= $u['user_name'].', ';