Rename user::count() to objectGetEntriesCount() for consistency with the other generic
object methods
This commit is contained in:
committed by
WineHQ
parent
27e0589a77
commit
a6127c1b07
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user