version_queue: Only reject version when app is unqueued

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-11-08 12:24:00 +01:00
committed by Chris Morgan
parent e7625791a0
commit 7643ac8229

View File

@@ -57,7 +57,10 @@ class version_queue
function reject()
{
$this->oVersion->reject();
$oApp = new application($this->oVersion->iAppId);
if($oApp->sQueued == "false")
$this->oVersion->reject();
if($this->oDownloadUrl->iId)
$this->oDownloadUrl->reject();