Rename user::count() to objectGetEntriesCount() for consistency with the other generic

object methods
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-21 17:06:50 +00:00
committed by WineHQ
parent 27e0589a77
commit a6127c1b07
2 changed files with 6 additions and 4 deletions

View File

@@ -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);