appdb/ ./distributionView.php ./testResults.ph ...

WineHQ wineowner at wine.codeweavers.com
Wed Aug 30 21:39:10 CDT 2006


ChangeSet ID:	27743
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/08/30 21:39:10

Modified files:
	.              : distributionView.php testResults.php 
	admin          : adminScreenshots.php 
	include        : testData.php 

Log message:
	"EA Durbin" <ead1234 at hotmail.com>
	Make the case of 'Version' match the case used in the constructor

Patch: http://cvs.winehq.org/patch.py?id=27743

Old revision  New revision  Changes     Path
 1.21          1.22          +1 -1       appdb/distributionView.php
 1.19          1.20          +2 -2       appdb/testResults.php
 1.15          1.16          +1 -1       appdb/admin/adminScreenshots.php
 1.8           1.9           +2 -2       appdb/include/testData.php

Index: appdb/distributionView.php
diff -u -p appdb/distributionView.php:1.21 appdb/distributionView.php:1.22
--- appdb/distributionView.php:1.21	31 Aug 2006  2:39:10 -0000
+++ appdb/distributionView.php	31 Aug 2006  2:39:10 -0000
@@ -112,7 +112,7 @@ else
         foreach($oDistribution->aTestingIds as $iTestingId)
         {
             $oTest = new testData($iTestingId);
-            $oVersion = new version($oTest->iVersionId);
+            $oVersion = new Version($oTest->iVersionId);
             $oApp  = new Application($oVersion->iAppId);
             $oSubmitter = new User($oTest->iSubmitterId);
             $bgcolor = $oTest->sTestedRating;
Index: appdb/testResults.php
diff -u -p appdb/testResults.php:1.19 appdb/testResults.php:1.20
--- appdb/testResults.php:1.19	31 Aug 2006  2:39:10 -0000
+++ appdb/testResults.php	31 Aug 2006  2:39:10 -0000
@@ -85,11 +85,11 @@ if ($aClean['sSub'])
         {
             util_show_error_page_and_exit("Insufficient privileges.");
         } else
-        $oVersion = new version($oTest->iVersionId);
+        $oVersion = new Version($oTest->iVersionId);
     } else
     { 
         $oTest->iVersionId = $aClean['iVersionId'];
-        $oVersion = new version($aClean['iVersionId']);       
+        $oVersion = new Version($aClean['iVersionId']);       
         $oTest->sQueued = "new";
     }
     if ($aClean['sSub'] == 'view')
Index: appdb/admin/adminScreenshots.php
diff -u -p appdb/admin/adminScreenshots.php:1.15 appdb/admin/adminScreenshots.php:1.16
--- appdb/admin/adminScreenshots.php:1.15	31 Aug 2006  2:39:10 -0000
+++ appdb/admin/adminScreenshots.php	31 Aug 2006  2:39:10 -0000
@@ -116,7 +116,7 @@ echo "<div align=center><table><tr>\n";
 while ($oRow = mysql_fetch_object($Ids))
 {
     // display thumbnail
-    $oVersion = new version($oRow->versionId);
+    $oVersion = new Version($oRow->versionId);
     $oApp = new Application($oVersion->iAppId);
     $oScreenshot = new Screenshot($oRow->id);
     $img = $oScreenshot->get_thumbnail_img();
Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.8 appdb/include/testData.php:1.9
--- appdb/include/testData.php:1.8	31 Aug 2006  2:39:10 -0000
+++ appdb/include/testData.php	31 Aug 2006  2:39:10 -0000
@@ -404,7 +404,7 @@ class testData{
         while($oRow = mysql_fetch_object($hResult))
         {
             $oTest = new testData($oRow->testingId);
-            $oVersion = new version($oTest->iVersionId);
+            $oVersion = new Version($oTest->iVersionId);
             $oApp  = new Application($oVersion->iAppId);
             $oSubmitter = new User($oTest->iSubmitterId);
             $oDistribution = new distribution($oTest->iDistributionId);
@@ -643,7 +643,7 @@ class testData{
         while($oRow = mysql_fetch_object($hResult))
         {
             $oTest = new testData($oRow->testingId);
-            $oVersion = new version($oTest->iVersionId);
+            $oVersion = new Version($oTest->iVersionId);
             // dont show testing results of versions that are still queued.
             if ($oVersion->sQueued == 'false')
             {



More information about the wine-cvs mailing list