aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-02-10 03:12:12 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-02-13 22:55:04 +0100
commit4559aca72300763e3f227b62e23bb4ef3f2c09ec (patch)
treebd18acb0cfe13b8117103c4ab68dd07e4b386712 /phpBB/viewtopic.php
parent39a3f4f6c8d31f3310e287a51aea011fadae7931 (diff)
downloadforums-4559aca72300763e3f227b62e23bb4ef3f2c09ec.tar
forums-4559aca72300763e3f227b62e23bb4ef3f2c09ec.tar.gz
forums-4559aca72300763e3f227b62e23bb4ef3f2c09ec.tar.bz2
forums-4559aca72300763e3f227b62e23bb4ef3f2c09ec.tar.xz
forums-4559aca72300763e3f227b62e23bb4ef3f2c09ec.zip
[ticket/13595] Removed unused code
PHPBB3-13595
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php16
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'];