mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11103] Add/Update/Mark Read functions accept an array for the type
This saves a lot of code in some areas (where the same data is sent, just for different types) Notifications for bookmarks PHPBB3-11103
This commit is contained in:
@@ -646,7 +646,7 @@ function approve_post($post_id_list, $id, $mode)
|
||||
else
|
||||
{
|
||||
// Topic Notifications
|
||||
$notifications->add_notifications('post', $post_data);
|
||||
$notifications->add_notifications(array('quote', 'bookmark', 'post'), $post_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user