diff options
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
| -rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index aa649df8d4..1ec6101b5a 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -613,6 +613,11 @@ function disapprove_post($post_id_list) if (sizeof($post_disapprove_sql)) { + if (!function_exists('delete_posts')) + { + include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx); + } + // We do not check for permissions here, because the moderator allowed approval/disapproval should be allowed to delete the disapproved posts delete_posts('post_id', $post_disapprove_sql); } |
