diff options
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 0ac8034d7f..38eeb2514e 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -56,6 +56,14 @@ if ($ext = $request->variable('ext', '')) exit_handler(); } +// Mark notifications read +$mark_notifications = request_var('mark_notification', array(0)); +if (!empty($mark_notifications)) +{ + $phpbb_notifications = $phpbb_container->get('notifications'); + $phpbb_notifications->mark_notifications_read_by_id($mark_notifications); +} + include($phpbb_root_path . 'includes/functions_display.' . $phpEx); $user->add_lang('viewforum'); |