Let maintainers and super maintainers process the application versions and images submitted for applications they maintain
This commit is contained in:
@@ -146,36 +146,6 @@ function make_maintainer_rating_list($varname, $cvalue)
|
||||
echo "</select>\n";
|
||||
}
|
||||
|
||||
/* get the number of queued applications */
|
||||
function getQueuedAppCount()
|
||||
{
|
||||
$qstring = "SELECT count(*) as queued_apps FROM appFamily WHERE queued='true'";
|
||||
$result = query_appdb($qstring);
|
||||
$ob = mysql_fetch_object($result);
|
||||
return $ob->queued_apps;
|
||||
}
|
||||
|
||||
function getQueuedVersionCount()
|
||||
{
|
||||
$qstring = "SELECT count(*) as queued_versions FROM appVersion WHERE queued='true'";
|
||||
$result = query_appdb($qstring);
|
||||
$ob = mysql_fetch_object($result);
|
||||
|
||||
/* we don't want to count the versions that are implicit in the applications */
|
||||
/* that are in the queue */
|
||||
return $ob->queued_versions - getQueuedAppCount();
|
||||
}
|
||||
|
||||
|
||||
/* get the number of queued appdata */
|
||||
function getQueuedAppDataCount()
|
||||
{
|
||||
$qstring = "SELECT count(*) as queued_appdata FROM appData WHERE queued='true'";
|
||||
$result = query_appdb($qstring);
|
||||
$ob = mysql_fetch_object($result);
|
||||
return $ob->queued_appdata;
|
||||
}
|
||||
|
||||
/* get the number of queued maintainers */
|
||||
function getQueuedMaintainerCount()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user