aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-04-19 15:05:39 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-04-19 15:05:39 +0000
commit87b7ae578f3c8a72f847c3610bd1ef479569a3ff (patch)
tree18739861ecebc98552ba69a7e527d0c6ffd51ae0 /phpBB/viewonline.php
parent4c05450291d939f0d6bf4ea3ba538719cf3b43ba (diff)
downloadforums-87b7ae578f3c8a72f847c3610bd1ef479569a3ff.tar
forums-87b7ae578f3c8a72f847c3610bd1ef479569a3ff.tar.gz
forums-87b7ae578f3c8a72f847c3610bd1ef479569a3ff.tar.bz2
forums-87b7ae578f3c8a72f847c3610bd1ef479569a3ff.tar.xz
forums-87b7ae578f3c8a72f847c3610bd1ef479569a3ff.zip
Removed need to send db as a parameter to functions
git-svn-id: file:///svn/phpbb/trunk@189 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 5f3eebab2e..6e4aedcd2c 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -36,9 +36,9 @@ init_userprefs($userdata);
// End session management
//
-$total_posts = get_db_stat($db, 'postcount');
-$total_users = get_db_stat($db, 'usercount');
-$newest_userdata = get_db_stat($db, 'newestuser');
+$total_posts = get_db_stat('postcount');
+$total_users = get_db_stat('usercount');
+$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata["username"];
$newest_uid = $newest_userdata["user_id"];