diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-12-03 18:19:02 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-06 13:52:11 +0100 |
commit | f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9 (patch) | |
tree | 74e7b2e89c84cfa3d16c18be10afd99fd6af245c /phpBB/includes/mcp/mcp_queue.php | |
parent | 73e6e5b77faadbb7676961bf38122d669de111db (diff) | |
download | forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.gz forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.bz2 forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.xz forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.zip |
[ticket/13454] Remove unused variables
This is part 2 of the pr.
PHPBB3-13454
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 9fdd16e791..b8190a714c 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -195,7 +195,7 @@ class mcp_queue )); } - $extensions = $attachments = $topic_tracking_info = array(); + $attachments = $topic_tracking_info = array(); // Get topic tracking info if ($config['load_db_lastread']) @@ -217,8 +217,6 @@ class mcp_queue if ($post_info['post_attachment'] && $auth->acl_get('u_download') && $auth->acl_get('f_download', $post_info['forum_id'])) { - $extensions = $cache->obtain_attach_extensions($post_info['forum_id']); - $sql = 'SELECT * FROM ' . ATTACHMENTS_TABLE . ' WHERE post_msg_id = ' . $post_id . ' @@ -417,7 +415,6 @@ class mcp_queue $sort_by_sql = $sort_order_sql = array(); phpbb_mcp_sorting($mode, $sort_days, $sort_key, $sort_dir, $sort_by_sql, $sort_order_sql, $total, $forum_id, $topic_id); - $forum_topics = ($total == -1) ? $forum_info['forum_topics_approved'] : $total; $limit_time_sql = ($sort_days) ? 'AND t.topic_last_post_time >= ' . (time() - ($sort_days * 86400)) : ''; $forum_names = array(); |