diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-04-16 21:30:52 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-04-16 21:30:52 +0200 |
commit | c89384eb86c0d2ff89f9df69dbd14fb61cfcb624 (patch) | |
tree | 98bac3192ed32ea6483c33a77aadc1c1f95200cf /phpBB/includes/mcp/mcp_queue.php | |
parent | f077b72d0ddabd13350bea276069b68d5df4a89c (diff) | |
parent | a089ff5eb0dcdab83c6c2e64cb0e7cb618aec41f (diff) | |
download | forums-c89384eb86c0d2ff89f9df69dbd14fb61cfcb624.tar forums-c89384eb86c0d2ff89f9df69dbd14fb61cfcb624.tar.gz forums-c89384eb86c0d2ff89f9df69dbd14fb61cfcb624.tar.bz2 forums-c89384eb86c0d2ff89f9df69dbd14fb61cfcb624.tar.xz forums-c89384eb86c0d2ff89f9df69dbd14fb61cfcb624.zip |
Merge pull request #3446 from MateBartus/ticket/13654
[ticket/13654] Moving reporting into controller
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 84db205fec..5cc158de5f 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -1402,11 +1402,6 @@ class mcp_queue } else { - if (!function_exists('display_reasons')) - { - include($phpbb_root_path . 'includes/functions_display.' . $phpEx); - } - $show_notify = false; foreach ($post_info as $post_data) @@ -1426,7 +1421,7 @@ class mcp_queue $confirm_template = 'mcp_approve.html'; if ($is_disapproving) { - display_reasons($reason_id); + $phpbb_container->get('phpbb.report.report_reason_list_provider')->display_reasons($reason_id); } else { |