Rosanne DiMesio : Update rating of old version when a test is moved

Jeremy Newman jnewman at winehq.org
Mon Jun 19 08:57:52 CDT 2017


Module: appdb
Branch: master
Commit: 46719d462cad4c6aa6d1ac1c24216d84c7dc8e11
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=46719d462cad4c6aa6d1ac1c24216d84c7dc8e11

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Fri Jun 16 15:04:05 2017 -0500

Update rating of old version when a test is moved

Fixes bug 42989.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>

---

 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();
             }




More information about the wine-cvs mailing list