diff options
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 16 | 
1 files changed, 0 insertions, 16 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index ac5b0730db..76e7a59d5d 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1017,7 +1017,6 @@ else  // Container for user details, only process once  $post_list = $user_cache = $id_cache = $attachments = $attach_list = $rowset = $update_count = $post_edit_list = $post_delete_list = array();  $has_unapproved_attachments = $has_approved_attachments = $display_notice = false; -$bbcode_bitfield = '';  $i = $i_total = 0;  // Go ahead and pull all data for this topic @@ -1183,15 +1182,6 @@ while ($row = $db->sql_fetchrow($result))  	$rowset[$row['post_id']] = $rowset_data; -	// Define the global bbcode bitfield, will be used to load bbcodes -	$bbcode_bitfield = $bbcode_bitfield | base64_decode($row['bbcode_bitfield']); - -	// Is a signature attached? Are we going to display it? -	if ($row['enable_sig'] && $config['allow_sig'] && $user->optionget('viewsigs')) -	{ -		$bbcode_bitfield = $bbcode_bitfield | base64_decode($row['user_sig_bbcode_bitfield']); -	} -  	// Cache various user specific data ... so we don't have to recompute  	// this each time the same user appears on this page  	if (!isset($user_cache[$poster_id])) @@ -1466,12 +1456,6 @@ if (sizeof($attach_list))  	}  } -// Instantiate BBCode if need be -if ($bbcode_bitfield !== '') -{ -	$bbcode = new bbcode(base64_encode($bbcode_bitfield)); -} -  // Get the list of users who can receive private messages  $can_receive_pm_list = $auth->acl_get_list(array_keys($user_cache), 'u_readpm');  $can_receive_pm_list = (empty($can_receive_pm_list) || !isset($can_receive_pm_list[0]['u_readpm'])) ? array() : $can_receive_pm_list[0]['u_readpm'];  | 
