Alexander Nicolaysen Sørnes : Fix updating of rating info when updating test results
Chris Morgan
cmorgan at winehq.org
Sun Jan 27 11:41:12 CST 2008
Module: appdb
Branch: master
Commit: 6d5c979f1567aabb0e62cc9502aad49e7e48813d
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=6d5c979f1567aabb0e62cc9502aad49e7e48813d
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Sun Jan 27 18:27:24 2008 +0100
Fix updating of rating info when updating test results
---
include/testData.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/testData.php b/include/testData.php
index 19cf8ae..cfa06fd 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -183,9 +183,6 @@ class testData{
$oOldTest->sTestedRelease." to $this->sTestedRelease.\n";
}
- if($bUpdateRatingInfo && $this->sState == 'accepted')
- $oVersion->updateRatingInfo();
-
if($this->iVersionId != $oOldTest->iVersionId)
{
$sWhatChanged .= 'Moved from '.version::fullName($oOldTest->iVersionId).' to '.version::fullName($this->iVersionId)."\n";
@@ -228,6 +225,9 @@ class testData{
$this->sState,
$this->iTestingId))
{
+ if($bUpdateRatingInfo && $this->sState == 'accepted')
+ $oVersion->updateRatingInfo();
+
if(!$bSilent)
$this->SendNotificationMail("edit", $sWhatChanged);
return true;
More information about the wine-cvs
mailing list