Show the number of maintainers on the administrators menu

This commit is contained in:
Tony Lambregts
2004-12-08 03:46:38 +00:00
committed by WineHQ
parent 5ed2da0382
commit 4690a9c04a
2 changed files with 10 additions and 1 deletions

View File

@@ -189,6 +189,15 @@ function getQueuedMaintainerCount()
return $ob->queued_maintainers;
}
/* get the total number of maintainers and applications in the appMaintainers table */
function getMaintainerCount()
{
$qstring = "SELECT count(*) as maintainers FROM appMaintainers";
$result = mysql_query($qstring);
$ob = mysql_fetch_object($result);
return $ob->maintainers;
}
/* Get the number of users in the database */
function getNumberOfComments()
{