mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11103] Topic and post dis/approval notifications
Remove the formatted title function, plaintext is not needed since email templates are used Fix a number of bugs. PHPBB3-11103
This commit is contained in:
@@ -2238,6 +2238,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||
$phpbb_notifications->add_notifications(array('quote', 'bookmark', 'post'), array_merge($data, array(
|
||||
'post_username' => $username,
|
||||
'poster_id' => (int) $user->data['user_id'],
|
||||
'post_text' => $data['message'],
|
||||
)));
|
||||
break;
|
||||
|
||||
@@ -2252,6 +2253,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||
|
||||
$phpbb_notifications->update_notifications(array('quote', 'bookmark', 'post'), array_merge($data, array(
|
||||
'post_username' => $username,
|
||||
'post_text' => $data['message'],
|
||||
)));
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user