mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-10 17:45:18 +02:00
[ticket/11672] Remove duplicate $request global.
PHPBB3-11672
This commit is contained in:
parent
03e78c33fa
commit
bc33fd9950
@ -1128,7 +1128,7 @@ function display_user_activity(&$userdata)
|
|||||||
*/
|
*/
|
||||||
function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0, $item_title = '')
|
function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0, $item_title = '')
|
||||||
{
|
{
|
||||||
global $template, $db, $user, $phpEx, $start, $phpbb_root_path, $request;
|
global $template, $db, $user, $phpEx, $start, $phpbb_root_path;
|
||||||
global $request;
|
global $request;
|
||||||
|
|
||||||
$table_sql = ($mode == 'forum') ? FORUMS_WATCH_TABLE : TOPICS_WATCH_TABLE;
|
$table_sql = ($mode == 'forum') ? FORUMS_WATCH_TABLE : TOPICS_WATCH_TABLE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user