From 5b9a3c9a7d8f8e4590dddf4440ac82c30ef3f730 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 25 Dec 2008 14:47:57 +0000 Subject: add nils' request and super globals class rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 84f67d5442..75cadb8460 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -348,7 +348,7 @@ if ($topic_data['forum_password']) } // Redirect to login or to the correct post upon emailed notification links -if (request::is_set('e', request::GET)) +if (phpbb_request::is_set('e', phpbb_request::GET)) { $jump_to = request_var('e', 0); @@ -417,7 +417,7 @@ if ($sort_days) $limit_posts_time = "AND p.post_time >= $min_post_time "; - if (request::is_set_post('sort')) + if (phpbb_request::is_set_post('sort')) { $start = 0; } @@ -673,7 +673,7 @@ if (!empty($topic_data['poll_start'])) // Cookie based guest tracking ... I don't like this but hum ho // it's oft requested. This relies on "nice" users who don't feel // the need to delete cookies to mess with results. - $cur_voted_list = request::variable($config['cookie_name'] . '_poll_' . $topic_id, '', false, request::COOKIE); + $cur_voted_list = phpbb_request::variable($config['cookie_name'] . '_poll_' . $topic_id, '', false, phpbb_request::COOKIE); if (!empty($cur_voted_list)) { $cur_voted_id = array_map('intval', explode(',', $cur_voted_list)); @@ -1586,9 +1586,9 @@ else if (!$all_marked_read) // We overwrite the 'f' request variable if there is no forum specified // to be able to display the correct online list. // One downside is that the user currently viewing this topic/post is not taken into account. -if (empty(request::variable('f', ''))) +if (empty(phpbb_request::variable('f', ''))) { - request::overwrite('f', $forum_id); + phpbb_request::overwrite('f', $forum_id); } // Output the page -- cgit v1.2.1