Show the number of individual maintainers on the stats page
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user