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:
@@ -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'].', ';
|
||||
|
Reference in New Issue
Block a user