mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
- removed some unneeded globals git-svn-id: file:///svn/phpbb/trunk@6597 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ac5a12c024
commit
f589ce3a84
2 changed files with 3 additions and 2 deletions
|
@ -237,7 +237,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$sort_days, &$sort_key,
|
|||
*/
|
||||
function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list = false)
|
||||
{
|
||||
global $config, $auth, $template, $user, $db, $phpEx;
|
||||
global $config, $auth, $template, $user, $db;
|
||||
|
||||
if (!$config['load_jumpbox'])
|
||||
{
|
||||
|
@ -679,7 +679,7 @@ function style_select($default = '', $all = false)
|
|||
*/
|
||||
function tz_select($default = '', $truncate = false)
|
||||
{
|
||||
global $sys_timezone, $user;
|
||||
global $user;
|
||||
|
||||
$tz_select = '';
|
||||
foreach ($user->lang['tz_zones'] as $offset => $zone)
|
||||
|
|
|
@ -2264,6 +2264,7 @@ function group_update_listings($group_id)
|
|||
{
|
||||
if (!function_exists('cache_moderators'))
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
||||
}
|
||||
cache_moderators();
|
||||
|
|
Loading…
Add table
Reference in a new issue