diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-18 18:02:23 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-18 18:02:23 +0100 |
commit | 098854a822846ba3aa222acb95d4028aa5cc830c (patch) | |
tree | 3d1102e52c6eb2a6715d0f363f8d39602aba3438 /phpBB/viewtopic.php | |
parent | 60f60acea31bd5c531ab757bae10dfb741c1b6ad (diff) | |
parent | 4559aca72300763e3f227b62e23bb4ef3f2c09ec (diff) | |
download | forums-098854a822846ba3aa222acb95d4028aa5cc830c.tar forums-098854a822846ba3aa222acb95d4028aa5cc830c.tar.gz forums-098854a822846ba3aa222acb95d4028aa5cc830c.tar.bz2 forums-098854a822846ba3aa222acb95d4028aa5cc830c.tar.xz forums-098854a822846ba3aa222acb95d4028aa5cc830c.zip |
Merge pull request #3395 from s9e/ticket/13595
[ticket/13595] Remove unused instances of the bbcode class
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 981941cea0..131230897f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1015,7 +1015,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 @@ -1181,15 +1180,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])) @@ -1463,12 +1453,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']; |