Alexander Nicolaysen Sørnes : version: Remove rating editor

Chris Morgan cmorgan at winehq.org
Wed Jan 2 20:51:43 CST 2008


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Tue Dec 25 19:33:04 2007 +0100

version: Remove rating editor

---

 include/version.php |   39 ---------------------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)

diff --git a/include/version.php b/include/version.php
index 2017c1d..1a910e3 100644
--- a/include/version.php
+++ b/include/version.php
@@ -674,43 +674,6 @@ class version {
 
         if($this->sState == 'accepted' && $this->iVersionId)
         {
-            echo html_frame_start("Info", "90%", "", 0);
-
-            $oTable = new Table();
-            $oTable->SetBorder(0);
-            $oTable->SetCellPadding(2);
-            $oTable->SetCellSpacing(0);
-
-            $oTableRow = new TableRow();
-
-            $oTableCell = new TableCell("Rating");
-            $oTableCell->SetClass("color4");
-            $oTableRow->AddCell($oTableCell);
-
-            $oTableCell = new TableCell(make_maintainer_rating_list("sMaintainerRating",
-                                                                    $this->sTestedRating));
-            $oTableCell->SetClass("color0");
-            $oTableRow->AddCell($oTableCell);
-
-            $oTable->AddRow($oTableRow);
-            $oTableRow = new TableRow();
-
-            $oTableCell = new TableCell("Release");
-            $oTableCell->SetClass("color1");
-            $oTableRow->AddCell($oTableCell);
-
-            $oTableCell = new TableCell(make_bugzilla_version_list("sMaintainerRelease", $this->sTestedRelease));
-            $oTableCell->SetClass("color0");
-
-            $oTableRow->AddCell($oTableCell);
-
-            $oTable->AddRow($oTableRow);
-
-            // output the table
-            echo $oTable->GetString();
-
-            echo html_frame_end();
-
             /* Mark as obsolete */
             $oApp = new application($this->iAppId);
             $oVersionInDB = new version($this->iVersionId);
@@ -768,8 +731,6 @@ class version {
 
         $this->sName = $aValues['sVersionName'];
         $this->sDescription = $aValues['shVersionDescription'];
-        $this->sTestedRating = $aValues['sMaintainerRating'];
-        $this->sTestedRelease = $aValues['sMaintainerRelease'];
         $this->sLicense = $aValues['sLicense'];
         $this->iMaintainerRequest = $aValues['iMaintainerRequest'];
 




More information about the wine-cvs mailing list