mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[feature/soft-delete] Fix some more usages of _approved column names
PHPBB3-9657
This commit is contained in:
@@ -548,7 +548,7 @@ function approve_post($post_id_list, $id, $mode)
|
||||
{
|
||||
$notify_poster = (isset($_REQUEST['notify_poster'])) ? true : false;
|
||||
|
||||
phpbb_content_visibility::unhide_posts_topics('approve', $post_info, $post_id_list);
|
||||
$success_msg = phpbb_content_visibility::unhide_posts_topics('approve', $post_info, $post_id_list);
|
||||
|
||||
$messenger = new messenger();
|
||||
|
||||
@@ -607,15 +607,6 @@ function approve_post($post_id_list, $id, $mode)
|
||||
$post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$post_data['forum_id']}&t={$post_data['topic_id']}&p={$post_data['post_id']}") . '#p' . $post_data['post_id'];
|
||||
}
|
||||
unset($post_info);
|
||||
|
||||
if ($total_topics)
|
||||
{
|
||||
$success_msg = ($total_topics == 1) ? 'TOPIC_APPROVED_SUCCESS' : 'TOPICS_APPROVED_SUCCESS';
|
||||
}
|
||||
else
|
||||
{
|
||||
$success_msg = (sizeof($post_id_list) + sizeof($post_approved_list) == 1) ? 'POST_APPROVED_SUCCESS' : 'POSTS_APPROVED_SUCCESS';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user