[AppDB] Do not automatically delete test reports along with distributions

Rosanne DiMesio dimesio at earthlink.net
Mon Jul 24 10:46:27 CDT 2017


The decision of what to do with the related test reports
should be made by admins.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/distribution.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/distribution.php b/include/distribution.php
index 9cbf538..a6e9d27 100644
--- a/include/distribution.php
+++ b/include/distribution.php
@@ -194,12 +194,6 @@ class distribution {
             
         $bSuccess = TRUE;
 
-        foreach($this->objectGetChildren() as $oChild)
-        {
-            if(!$oChild->delete())
-                $bSuccess = FALSE;
-        }
-
         // now delete the Distribution 
         $sQuery = "UPDATE distributions SET state = 'deleted'
                    WHERE distributionId = '?' 
-- 
2.12.3




More information about the wine-patches mailing list