mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Issue #877: Feature request: event triggerings in core plugins (e.g: forum, pm, chatbox_menu)
This commit is contained in:
@@ -56,6 +56,7 @@ class private_message
|
||||
{
|
||||
$this->pm_send_receipt($pm_info);
|
||||
}
|
||||
e107::getEvent()->trigger('user-pm-read', $pm_id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,6 +211,7 @@ class private_message
|
||||
|
||||
if($pmid = $sql->insert('private_msg', $info))
|
||||
{
|
||||
e107::getEvent()->trigger('user-pm-sent', $info);
|
||||
if($class == FALSE)
|
||||
{
|
||||
$toclass .= $u['user_name'].', ';
|
||||
|
Reference in New Issue
Block a user