Clean up category class. Move category related functions into the class and remove now extranious

$catId parameter from category::display()
This commit is contained in:
Chris Morgan
2006-07-11 18:53:06 +00:00
committed by WineHQ
parent 457f7cc34b
commit 069a51fba8
5 changed files with 55 additions and 58 deletions

View File

@@ -506,7 +506,8 @@ class Application {
apidb_header("Viewing App - ".$this->sName);
// cat display
display_catpath($this->iCatId, $this->iAppId);
$oCategory = new Category($this->iCatId);
$oCategory->display($this->iAppId);
// set Vendor
$oVendor = new Vendor($this->iVendorId);