appdb/ include/version.php admin/deleteAny.php

WineHQ wineowner at wine.codeweavers.com
Sun Feb 19 20:51:19 CST 2006


ChangeSet ID:	23132
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/02/19 20:51:19

Modified files:
	include        : version.php 
	admin          : deleteAny.php 

Log message:
	Tony Lambregts <tony.lambregts at gmail.com>
	Fix deletion of test results when a version is deleted

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

Old revision  New revision  Changes     Path
 1.47          1.48          +2 -1       appdb/include/version.php
 1.15          1.16          +1 -0       appdb/admin/deleteAny.php

Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.47 appdb/include/version.php:1.48
--- appdb/include/version.php:1.47	20 Feb 2006  2:51:19 -0000
+++ appdb/include/version.php	20 Feb 2006  2:51:19 -0000
@@ -148,10 +148,11 @@ class Version {
                     $this->aTestingIds[] = $oRow->testingId;
                 }
             }
+
             /*
              * We fetch monitor Ids. 
              */
-            $this->aTestingIds = array();
+            $this->aMonitorIds = array();
             $sQuery = "SELECT *
                        FROM appMonitors
                        WHERE versionId = ".$iVersionId."
Index: appdb/admin/deleteAny.php
diff -u -p appdb/admin/deleteAny.php:1.15 appdb/admin/deleteAny.php:1.16
--- appdb/admin/deleteAny.php:1.15	20 Feb 2006  2:51:19 -0000
+++ appdb/admin/deleteAny.php	20 Feb 2006  2:51:19 -0000
@@ -12,6 +12,7 @@ require_once(BASE."include/category.php"
 require_once(BASE."include/application.php");
 require_once(BASE."include/mail.php");
 require_once(BASE."include/monitor.php");
+require_once(BASE."include/testResults.php");
 
 
 if($_REQUEST['confirmed'] != "yes")



More information about the wine-cvs mailing list