appdb/include util.php

WineHQ wineowner at wine.codeweavers.com
Mon Jul 10 22:47:00 CDT 2006


ChangeSet ID:	26403
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/07/10 22:47:00

Modified files:
	include        : util.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Remove unused lookupVendorName()

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

Old revision  New revision  Changes     Path
 1.70          1.71          +0 -12      appdb/include/util.php

Index: appdb/include/util.php
diff -u -p appdb/include/util.php:1.70 appdb/include/util.php:1.71
--- appdb/include/util.php:1.70	11 Jul 2006  3:47: 0 -0000
+++ appdb/include/util.php	11 Jul 2006  3:47: 0 -0000
@@ -274,18 +274,6 @@ function getNumberOfBugLinks()
     return 0;
 }
 
-function lookupVendorName($vendorId)
-{
-    $sResult = query_parameters("SELECT * FROM vendor ".
-                            "WHERE vendorId = '?'",
-                            $vendorId);
-    if(!$sResult || mysql_num_rows($sResult) != 1)
-        return "Unknown vendor";
-
-    $vendor = mysql_fetch_object($sResult);
-    return $vendor->vendorName;
-}
-
 /* used by outputTopXRowAppsFromRating() to reduce duplicated code */
 function outputTopXRow($oRow)
 {



More information about the wine-cvs mailing list