1
0
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:
Nathan Guse
2012-09-14 16:54:20 -05:00
parent 1ab0c469e2
commit ed1ec8e720
8 changed files with 178 additions and 76 deletions

View File

@@ -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);
}
}