mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/new-tz-handling] Prefix function with phpbb_
PHPBB3-9558
This commit is contained in:
@@ -1093,7 +1093,7 @@ function phpbb_format_timezone_offset($tz_offset)
|
|||||||
* Arranges them in increasing order by timezone offset.
|
* Arranges them in increasing order by timezone offset.
|
||||||
* Places UTC before other timezones in the same offset.
|
* Places UTC before other timezones in the same offset.
|
||||||
*/
|
*/
|
||||||
function tz_select_compare($a, $b)
|
function phpbb_tz_select_compare($a, $b)
|
||||||
{
|
{
|
||||||
$a_sign = $a[3];
|
$a_sign = $a[3];
|
||||||
$b_sign = $b[3];
|
$b_sign = $b[3];
|
||||||
@@ -1178,7 +1178,7 @@ function tz_select($default = '', $truncate = false, $return_tzs_only = true)
|
|||||||
}
|
}
|
||||||
unset($unsorted_timezones);
|
unset($unsorted_timezones);
|
||||||
|
|
||||||
uksort($timezones, 'tz_select_compare');
|
uksort($timezones, 'phpbb_tz_select_compare');
|
||||||
}
|
}
|
||||||
|
|
||||||
$tz_select = $tz_dates = $opt_group = '';
|
$tz_select = $tz_dates = $opt_group = '';
|
||||||
|
Reference in New Issue
Block a user