version_queue: Only reject version when app is unqueued
This commit is contained in:
committed by
Chris Morgan
parent
e7625791a0
commit
7643ac8229
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user