diff options
author | Cesar G <prototech91@gmail.com> | 2015-10-14 19:41:44 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2015-10-14 19:41:44 -0700 |
commit | f657680311349bc44e22df461f79ea1368948968 (patch) | |
tree | 6ac17662b5b3a6311d525b1b7b43c8c159b77c68 /phpBB/includes | |
parent | 240d07d0cf82604fca83c506afdb20ffa3ec9261 (diff) | |
download | forums-f657680311349bc44e22df461f79ea1368948968.tar forums-f657680311349bc44e22df461f79ea1368948968.tar.gz forums-f657680311349bc44e22df461f79ea1368948968.tar.bz2 forums-f657680311349bc44e22df461f79ea1368948968.tar.xz forums-f657680311349bc44e22df461f79ea1368948968.zip |
[ticket/13831] Store provided reason when deleting from Mod. Queue module.
PHPBB3-13831
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 60c6e5d877..af9bf29483 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -72,6 +72,7 @@ class mcp_queue case 'delete': $post_id_list = $request->variable('post_id_list', array(0)); $topic_id_list = $request->variable('topic_id_list', array(0)); + $delete_reason = $request->variable('delete_reason', '', true); if (!empty($post_id_list)) { @@ -80,7 +81,7 @@ class mcp_queue global $phpbb_root_path, $phpEx; include($phpbb_root_path . 'includes/mcp/mcp_main.' . $phpEx); } - mcp_delete_post($post_id_list, false, '', $action); + mcp_delete_post($post_id_list, false, $delete_reason, $action); } else if (!empty($topic_id_list)) { @@ -89,7 +90,7 @@ class mcp_queue global $phpbb_root_path, $phpEx; include($phpbb_root_path . 'includes/mcp/mcp_main.' . $phpEx); } - mcp_delete_topic($topic_id_list, false, '', $action); + mcp_delete_topic($topic_id_list, false, $delete_reason, $action); } else { |