mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/11103] Prettify the output for prosilver.
Create a way to mark items read from the output list. PHPBB3-11103
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user