testData_queue: always delete empty distributions if we can
This commit is contained in:
committed by
WineHQ
parent
2c32bc608b
commit
e6b09f417f
@@ -31,7 +31,7 @@ class testData_queue
|
|||||||
queue for admins to clean up unused, queued entries */
|
queue for admins to clean up unused, queued entries */
|
||||||
$this->oDistribution = new distribution($this->oDistribution->iDistributionId);
|
$this->oDistribution = new distribution($this->oDistribution->iDistributionId);
|
||||||
if(!sizeof($this->oDistribution->aTestingIds) &&
|
if(!sizeof($this->oDistribution->aTestingIds) &&
|
||||||
$this->oDistribution->sQueued != "false")
|
$this->oDistribution->canEdit())
|
||||||
$this->oDistribution->delete();
|
$this->oDistribution->delete();
|
||||||
|
|
||||||
return $bSuccess;
|
return $bSuccess;
|
||||||
|
|||||||
Reference in New Issue
Block a user