[AppDB] Update rating of old version when a test is moved

Rosanne DiMesio dimesio at earthlink.net
Fri Jun 16 15:04:05 CDT 2017


Fixes bug 42989.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/testData.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/testData.php b/include/testData.php
index bf5b727..051ef65 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -239,6 +239,8 @@ class testData{
                 {
                     $oNewVersion = new version($this->iVersionId);
                     $oNewVersion->updateRatingInfo();
+                    $oOldVersion = new version($oOldTest->iVersionId);
+                    $oOldVersion->updateRatingInfo();
                 }
                 $oVersion->updateRatingInfo();
             }
-- 
2.12.3




More information about the wine-patches mailing list