aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.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/search.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/search.php')
-rw-r--r--phpBB/search.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 164d834ff2..cece37f29c 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -797,7 +797,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
}
else
{
- $bbcode_bitfield = $text_only_message = '';
+ $text_only_message = '';
$attach_list = array();
while ($row = $db->sql_fetchrow($result))
@@ -817,7 +817,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
if ($return_chars == -1 || utf8_strlen($text_only_message) < ($return_chars + 3))
{
$row['display_text_only'] = false;
- $bbcode_bitfield = $bbcode_bitfield | base64_decode($row['bbcode_bitfield']);
// Does this post have an attachment? If so, add it to the list
if ($row['post_attachment'] && $config['allow_attachments'])
@@ -837,13 +836,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
unset($text_only_message);
- // Instantiate BBCode if needed
- if ($bbcode_bitfield !== '')
- {
- include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);
- $bbcode = new bbcode(base64_encode($bbcode_bitfield));
- }
-
// Pull attachment data
if (sizeof($attach_list))
{