Module: appdb
Branch: master
Commit: 76017c2d50203a7daa3ec0d62f6d9761e1a1de19
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=76017c2d50203a7daa3ec0d6…
Author: Rosanne DiMesio <dimesio(a)earthlink.net>
Date: Mon Jul 24 10:46:27 2017 -0500
Do not automatically delete test reports along with distributions
The decision of what to do with the related test reports
should be made by admins.
Signed-off-by: Rosanne DiMesio <dimesio(a)earthlink.net>
Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com>
---
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 = '?'