testData: add 'pending' queue state

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-11-06 22:12:32 +01:00
committed by Chris Morgan
parent 489698c29f
commit da471d1ad8
3 changed files with 10 additions and 8 deletions

View File

@@ -17,8 +17,7 @@ class version_queue
if($iVersionId)
{
$iTestingId = testData::getNewestTestIdFromVersionId($iVersionId,
$this->oVersion->sQueued);
$iTestingId = testData::getNewestTestIdFromVersionId($iVersionId, "pending");
/* This illustrates the importance of converting downloadurl completely
to the objectManager model. If we don't get a match searching for
a queued entry, try finding a rejected one. */
@@ -54,7 +53,6 @@ class version_queue
function reQueue()
{
$this->oVersion->reQueue();
$this->oTestDataQueue->reQueue();
$this->oDownloadUrl->reQueue();
}
@@ -64,8 +62,6 @@ class version_queue
if($this->oDownloadUrl->iId)
$this->oDownloadUrl->reject();
$this->oTestDataQueue->reject();
}
function update()