aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.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/index.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/index.php')
-rw-r--r--phpBB/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 05cc109f3e..73d4ff59fb 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -37,12 +37,12 @@ init_userprefs($userdata);
//
//nl2br(var_dump($userdata));
-$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"];
-$users_browsing = get_db_stat($db, "usersonline") . " Users ";
+$users_browsing = get_db_stat("usersonline") . " Users ";
if(empty($viewcat))
{