appdb/include testData_queue.php

WineHQ wineowner at wine.codeweavers.com
Mon Jun 18 19:28:01 CDT 2007


ChangeSet ID:	31222
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/06/18 19:28:01

Modified files:
	include        : testData_queue.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	testData_queue: always delete empty distributions if we can

Patch: http://cvs.winehq.org/patch.py?id=31222

Old revision  New revision  Changes     Path
 1.11          1.12          +1 -1       appdb/include/testData_queue.php

Index: appdb/include/testData_queue.php
diff -u -p appdb/include/testData_queue.php:1.11 appdb/include/testData_queue.php:1.12
--- appdb/include/testData_queue.php:1.11	19 Jun 2007  0:28: 1 -0000
+++ appdb/include/testData_queue.php	19 Jun 2007  0:28: 1 -0000
@@ -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;



More information about the wine-cvs mailing list