From 6da288aace3df1e2fcf4c06c8a467cf29922f07d Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 18 Mar 2008 12:03:33 +0000 Subject: [PATCH] i think i will stop committing thinks today. :/ git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8443 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 0b79cffda3..5622b2dd6c 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3159,7 +3159,7 @@ function obtain_users_online($forum_id = 0) { $reading_sql = ' AND s.session_forum_id = ' . (int) $forum_id; } -$config['load_online_time'] = 500000; + $online_users = array( 'online_users' => array(), 'hidden_users' => array(), @@ -3182,7 +3182,7 @@ $config['load_online_time'] = 500000; WHERE s.session_time >= ' . ($time - ((int) ($time % 30))) . $reading_sql . ' AND s.session_user_id <> ' . ANONYMOUS; - $result = $db->sql_query($sql); + $result = $db->sql_query($sql, 30); while ($row = $db->sql_fetchrow($result)) {