mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13454] Remove unused variables
This is part 5 and there is more to come. PHPBB3-13454
This commit is contained in:
@@ -886,7 +886,7 @@ function get_forum_parents(&$forum_data)
|
||||
*/
|
||||
function get_moderators(&$forum_moderators, $forum_id = false)
|
||||
{
|
||||
global $config, $template, $db, $phpbb_root_path, $phpEx, $user, $auth;
|
||||
global $db, $phpbb_root_path, $phpEx, $user, $auth;
|
||||
global $phpbb_container;
|
||||
|
||||
$forum_id_ary = array();
|
||||
@@ -1002,8 +1002,6 @@ function topic_status(&$topic_row, $replies, $unread_topic, &$folder_img, &$fold
|
||||
{
|
||||
global $user, $config;
|
||||
|
||||
$folder = $folder_new = '';
|
||||
|
||||
if ($topic_row['topic_status'] == ITEM_MOVED)
|
||||
{
|
||||
$topic_type = $user->lang['VIEW_TOPIC_MOVED'];
|
||||
|
Reference in New Issue
Block a user