aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-11-17 21:51:16 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-11-17 21:51:16 +0000
commitf589ce3a842fb88a6b38fde7b1080a991e044706 (patch)
treea9b55f414c16fee106c516a69ddf7b6a085fd490 /phpBB
parentac5a12c0244f22532ab992ecd0d94441691b5c89 (diff)
downloadforums-f589ce3a842fb88a6b38fde7b1080a991e044706.tar
forums-f589ce3a842fb88a6b38fde7b1080a991e044706.tar.gz
forums-f589ce3a842fb88a6b38fde7b1080a991e044706.tar.bz2
forums-f589ce3a842fb88a6b38fde7b1080a991e044706.tar.xz
forums-f589ce3a842fb88a6b38fde7b1080a991e044706.zip
#5376
- removed some unneeded globals git-svn-id: file:///svn/phpbb/trunk@6597 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php4
-rw-r--r--phpBB/includes/functions_user.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 6b87e9acf9..f76f918451 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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)
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 15daa0c999..c30219c118 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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();