- access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names and so on) - fixed a lot of warnings that would have been thrown when error_reporting is set to show notices (if(isset($variable))) instead of if($variable) for example)
This commit is contained in:
@@ -214,6 +214,14 @@ function getNumberOfVersions()
|
||||
return $row->num_versions;
|
||||
}
|
||||
|
||||
/* Get the number of maintainers in the database */
|
||||
function getNumberOfMaintainers()
|
||||
{
|
||||
$result = mysql_query("SELECT count(maintainerId ) as num_maintainers FROM appMaintainers;");
|
||||
$row = mysql_fetch_object($result);
|
||||
return $row->num_maintainers;
|
||||
}
|
||||
|
||||
/* Get the number of app familes in the database */
|
||||
function getNumberOfAppFamilies()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user