objectManager, add rejection support. Add support in objectManager for handling rejected

data.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-24 18:30:16 +00:00
committed by WineHQ
parent 18bb33902e
commit c545581571
16 changed files with 113 additions and 49 deletions

View File

@@ -193,8 +193,12 @@ class maintainer
return $hResult;
}
function ObjectGetEntries($bQueued)
function ObjectGetEntries($bQueued, $bRejected)
{
/* Not implemented */
if($bRejected)
return FALSE;
/* Excluding requests for queued apps and versions, as these will be
handled automatically */
$sQuery = "SELECT DISTINCT maintainerId, appMaintainers.submitTime FROM
@@ -273,8 +277,12 @@ class maintainer
return $aAppsMaintained;
}
function objectGetEntriesCount($bQueued)
function objectGetEntriesCount($bQueued, $bRejected)
{
/* Not implemented */
if($bRejected)
return FALSE;
/* Excluding requests for queued apps and versions, as these are handled
automatically. One SELECT for super maintainers, one for maintainers. */
$sQuery = "SELECT COUNT(DISTINCT maintainerId) as queued_maintainers FROM