mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
1fe1120c19
1 changed files with 11 additions and 0 deletions
|
@ -55,6 +55,17 @@ if (($mark_notification = $request->variable('mark_notification', 0)))
|
|||
|
||||
$notification->mark_read();
|
||||
|
||||
/**
|
||||
* You can use this event to perform additional tasks or redirect user elsewhere.
|
||||
*
|
||||
* @event core.index_mark_notification_after
|
||||
* @var int mark_notification Notification ID
|
||||
* @var \phpbb\notification\type\type_interface notification Notification instance
|
||||
* @since 3.2.6-RC1
|
||||
*/
|
||||
$vars = array('mark_notification', 'notification');
|
||||
extract($phpbb_dispatcher->trigger_event('core.index_mark_notification_after', compact($vars)));
|
||||
|
||||
if ($request->is_ajax())
|
||||
{
|
||||
$json_response = new \phpbb\json_response();
|
||||
|
|
Loading…
Add table
Reference in a new issue