diff --git a/appdbStats.php b/appdbStats.php
index 18f9766..47d7b12 100644
--- a/appdbStats.php
+++ b/appdbStats.php
@@ -14,7 +14,7 @@ echo "
\n\n";
/* Display the number of users */
echo "\n";
echo " | Users: | \n";
-echo " ".User::count()." | \n";
+echo " ".User::objectGetEntriesCount()." | \n";
echo "
\n\n";
/* Display the active users in the last 30 days */
@@ -38,7 +38,8 @@ echo "\n\n";
/* Display the inactive users */
echo "\n";
echo " | Inactive users (not logged in since six months): | \n";
-echo " ".(User::count()-User::active_users_within_days(183))." | \n";
+echo " ".(User::objectGetEntriesCount()-
+ User::active_users_within_days(183))." | \n";
echo "
\n\n";
/* Display the users who were warned and pending deletion */
diff --git a/include/user.php b/include/user.php
index 91050db..43db24e 100644
--- a/include/user.php
+++ b/include/user.php
@@ -480,9 +480,10 @@ class User {
}
/**
- * Get the number of users in the database
+ * Get the number of users in the database
+ * The parameters are only included for compatibility; we don't queue users
*/
- function count()
+ function objectGetEntriesCount($bQueued = null, $bRejected = null)
{
$hResult = query_parameters("SELECT count(*) as num_users FROM user_list;");
$oRow = mysql_fetch_object($hResult);