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 */
|
||||
function getNumberOfMaintainers()
|
||||
{
|
||||
$result = query_appdb("SELECT count(maintainerId ) as num_maintainers FROM appMaintainers;");
|
||||
$row = mysql_fetch_object($result);
|
||||
return $row->num_maintainers;
|
||||
$result = query_appdb("SELECT DISTINCT userId FROM appMaintainers;");
|
||||
return mysql_num_rows($result);
|
||||
}
|
||||
|
||||
/* Get the number of app familes in the database */
|
||||
|
||||
Reference in New Issue
Block a user