aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_prefs.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-07-17 16:09:05 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-07-17 16:09:05 +0200
commit3637cd395e39c1fa5b7279222abe1da5d2abcd00 (patch)
tree1e0d9f54950fb16f83dbcdde1001be5323778be1 /phpBB/includes/ucp/ucp_prefs.php
parent48d3c68290b96c7d2a0e875ec3338f067a529b22 (diff)
downloadforums-3637cd395e39c1fa5b7279222abe1da5d2abcd00.tar
forums-3637cd395e39c1fa5b7279222abe1da5d2abcd00.tar.gz
forums-3637cd395e39c1fa5b7279222abe1da5d2abcd00.tar.bz2
forums-3637cd395e39c1fa5b7279222abe1da5d2abcd00.tar.xz
forums-3637cd395e39c1fa5b7279222abe1da5d2abcd00.zip
[feature/new-tz-handling] Properly name new timezone selection function
Marked the old one as deprecated and made it using the new function. PHPBB3-9558
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php
index 4239afc96e..f63758c52d 100644
--- a/phpBB/includes/ucp/ucp_prefs.php
+++ b/phpBB/includes/ucp/ucp_prefs.php
@@ -131,7 +131,7 @@ class ucp_prefs
}
$dateformat_options .= '>' . $user->lang['CUSTOM_DATEFORMAT'] . '</option>';
- $tz_select = tz_select($data['tz'], true, false);
+ $timezone_selects = phpbb_timezone_select($data['tz'], true, false);
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
@@ -154,8 +154,8 @@ class ucp_prefs
'S_LANG_OPTIONS' => language_select($data['lang']),
'S_STYLE_OPTIONS' => ($config['override_user_style']) ? '' : style_select($data['style']),
- 'S_TZ_OPTIONS' => $tz_select['tz_select'],
- 'S_TZ_DATE_OPTIONS' => $tz_select['tz_dates'],
+ 'S_TZ_OPTIONS' => $timezone_selects['tz_select'],
+ 'S_TZ_DATE_OPTIONS' => $timezone_selects['tz_dates'],
'S_CAN_HIDE_ONLINE' => ($auth->acl_get('u_hideonline')) ? true : false,
'S_SELECT_NOTIFY' => ($config['jab_enable'] && $user->data['user_jabber'] && @extension_loaded('xml')) ? true : false)
);