From e6b09f417fefa064c918cc7dcfa2f7f1ae2d6a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Tue, 19 Jun 2007 00:28:01 +0000 Subject: [PATCH] testData_queue: always delete empty distributions if we can --- include/testData_queue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/testData_queue.php b/include/testData_queue.php index 0c116f9..c3729dd 100644 --- a/include/testData_queue.php +++ b/include/testData_queue.php @@ -31,7 +31,7 @@ class testData_queue queue for admins to clean up unused, queued entries */ $this->oDistribution = new distribution($this->oDistribution->iDistributionId); if(!sizeof($this->oDistribution->aTestingIds) && - $this->oDistribution->sQueued != "false") + $this->oDistribution->canEdit()) $this->oDistribution->delete(); return $bSuccess;