mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
[ticket/7707] Remove unnecessary variables
PHPBB3-7707
This commit is contained in:
parent
0edfcc5a28
commit
825077073b
1 changed files with 0 additions and 3 deletions
|
@ -1110,7 +1110,6 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
'rank_image' => '',
|
'rank_image' => '',
|
||||||
'rank_image_src' => '',
|
'rank_image_src' => '',
|
||||||
'sig' => '',
|
'sig' => '',
|
||||||
'profile' => '',
|
|
||||||
'pm' => '',
|
'pm' => '',
|
||||||
'email' => '',
|
'email' => '',
|
||||||
'jabber' => '',
|
'jabber' => '',
|
||||||
|
@ -1175,7 +1174,6 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
'user_colour' => $row['user_colour'],
|
'user_colour' => $row['user_colour'],
|
||||||
|
|
||||||
'online' => false,
|
'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&action=jabber&u=$poster_id") : '',
|
'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '',
|
||||||
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
|
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&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&mode=post_details&f=$forum_id&p=" . $row['post_id'], true, $user->session_id) : '',
|
'U_INFO' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=post_details&f=$forum_id&p=" . $row['post_id'], true, $user->session_id) : '',
|
||||||
'U_DELETE' => ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=delete&f=$forum_id&p={$row['post_id']}") : '',
|
'U_DELETE' => ($delete_allowed) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=delete&f=$forum_id&p={$row['post_id']}") : '',
|
||||||
|
|
||||||
'U_PROFILE' => $user_cache[$poster_id]['profile'],
|
|
||||||
'U_SEARCH' => $user_cache[$poster_id]['search'],
|
'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&mode=compose&action=quotepost&p=' . $row['post_id']) : '',
|
'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&mode=compose&action=quotepost&p=' . $row['post_id']) : '',
|
||||||
'U_EMAIL' => $user_cache[$poster_id]['email'],
|
'U_EMAIL' => $user_cache[$poster_id]['email'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue