aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-03-29 15:49:31 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2014-03-29 16:38:24 +0100
commit825077073bd173f43178e00da2d6f76c4c26b8a3 (patch)
tree71e03e7a1f7d10b5dc6ecce15c28cc36958f1822
parent0edfcc5a28d9e13aa2f6e758bbfe0281e345ab27 (diff)
downloadforums-825077073bd173f43178e00da2d6f76c4c26b8a3.tar
forums-825077073bd173f43178e00da2d6f76c4c26b8a3.tar.gz
forums-825077073bd173f43178e00da2d6f76c4c26b8a3.tar.bz2
forums-825077073bd173f43178e00da2d6f76c4c26b8a3.tar.xz
forums-825077073bd173f43178e00da2d6f76c4c26b8a3.zip
[ticket/7707] Remove unnecessary variables
PHPBB3-7707
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 4a1c6202e5..fc3a7321f0 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1110,7 +1110,6 @@ while ($row = $db->sql_fetchrow($result))
'rank_image' => '',
'rank_image_src' => '',
'sig' => '',
- 'profile' => '',
'pm' => '',
'email' => '',
'jabber' => '',
@@ -1175,7 +1174,6 @@ while ($row = $db->sql_fetchrow($result))
'user_colour' => $row['user_colour'],
'online' => false,
- 'profile' => get_username_string('profile', $poster_id, $row['username'], $row['user_colour']),
'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&amp;action=jabber&amp;u=$poster_id") : '',
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&amp;sr=posts") : '',
@@ -1615,7 +1613,6 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'U_INFO' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;mode=post_details&amp;f=$forum_id&amp;p=" . $row['post_id'], true, $user->session_id) : '',
'U_DELETE' => ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=delete&amp;f=$forum_id&amp;p={$row['post_id']}") : '',
- 'U_PROFILE' => $user_cache[$poster_id]['profile'],
'U_SEARCH' => $user_cache[$poster_id]['search'],
'U_PM' => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;mode=compose&amp;action=quotepost&amp;p=' . $row['post_id']) : '',
'U_EMAIL' => $user_cache[$poster_id]['email'],