diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-08 13:56:39 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-08 13:56:39 -0600 |
commit | 2227ceab8bf0cccf95598f4e2a59cc7134adf7f0 (patch) | |
tree | 4b96041071ffcdba6d91aa6723dd8ef89646d748 /phpBB/includes/ucp/ucp_notifications.php | |
parent | 6b7443adacfa8e79304e4c91ca02000d25259633 (diff) | |
download | forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.gz forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.bz2 forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.xz forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.zip |
[ticket/11103] Use $request->variable rather than request_var
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/ucp/ucp_notifications.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_notifications.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php index e8ceac3f59..76fc411584 100644 --- a/phpBB/includes/ucp/ucp_notifications.php +++ b/phpBB/includes/ucp/ucp_notifications.php @@ -26,8 +26,8 @@ class ucp_notifications add_form_key('ucp_notification'); - $start = request_var('start', 0); - $form_time = min(request_var('form_time', 0), time()); + $start = $request->variable('start', 0); + $form_time = min($request->variable('form_time', 0), time()); switch ($mode) { @@ -87,7 +87,7 @@ class ucp_notifications case 'notification_list': default: // Mark all items read - if (request_var('mark', '') == 'all' && (confirm_box(true) || check_link_hash(request_var('token', ''), 'mark_all_notifications_read'))) + if ($request->variable('mark', '') == 'all' && (confirm_box(true) || check_link_hash($request->variable('token', ''), 'mark_all_notifications_read'))) { if (confirm_box(true)) { @@ -114,7 +114,7 @@ class ucp_notifications trigger_error('FORM_INVALID'); } - $mark_read = request_var('mark', array(0)); + $mark_read = $request->variable('mark', array(0)); if (!empty($mark_read)) { |