mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13116] Interchange post and topic approval notification
PHPBB3-13116
This commit is contained in:
@@ -745,11 +745,11 @@ class mcp_queue
|
||||
|
||||
if (!$post_data['topic_posts_approved'])
|
||||
{
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_post', $post_data);
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_topic', $post_data);
|
||||
}
|
||||
else
|
||||
{
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_topic', $post_data);
|
||||
$phpbb_notifications->add_notifications('notification.type.approve_post', $post_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user