Show the number of individual maintainers on the stats page

This commit is contained in:
Tony Lambregts
2005-01-23 16:59:09 +00:00
committed by WineHQ
parent 008cacfa7e
commit fc4f7db66a

View File

@@ -192,9 +192,8 @@ function getNumberOfVersions()
/* Get the number of maintainers in the database */ /* Get the number of maintainers in the database */
function getNumberOfMaintainers() function getNumberOfMaintainers()
{ {
$result = query_appdb("SELECT count(maintainerId ) as num_maintainers FROM appMaintainers;"); $result = query_appdb("SELECT DISTINCT userId FROM appMaintainers;");
$row = mysql_fetch_object($result); return mysql_num_rows($result);
return $row->num_maintainers;
} }
/* Get the number of app familes in the database */ /* Get the number of app familes in the database */