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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user