1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13454] Remove unused variables

Part 4

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-04 11:50:39 +01:00
parent 6c25ad4822
commit 266576c6a4
35 changed files with 41 additions and 78 deletions

View File

@@ -618,7 +618,7 @@ class mcp_queue
*/
static public function approve_posts($action, $post_id_list, $id, $mode)
{
global $db, $template, $user, $config, $request, $phpbb_container, $phpbb_dispatcher;
global $template, $user, $request, $phpbb_container, $phpbb_dispatcher;
global $phpEx, $phpbb_root_path, $phpbb_log;
if (!phpbb_check_ids($post_id_list, POSTS_TABLE, 'post_id', array('m_approve')))
@@ -628,7 +628,7 @@ class mcp_queue
$redirect = $request->variable('redirect', build_url(array('quickmod')));
$redirect = reapply_sid($redirect);
$success_msg = $post_url = '';
$post_url = '';
$approve_log = array();
$num_topics = 0;