mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +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'])
|
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
|
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