From 3ff226575ea5933470b88e99fd5b0fec0cf23058 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Aug 2010 15:21:22 +0000 Subject: [PATCH] Removed deprecated code --- htdocs/product/index.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/product/index.php b/htdocs/product/index.php index ce11bd777dd..3ac90d58182 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -46,8 +46,6 @@ $langs->load("products"); * View */ - - $transAreaType = $langs->trans("ProductsAndServicesArea"); $helpurl=''; if (! isset($_GET["type"])) @@ -167,8 +165,6 @@ $max=15; $sql = "SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.envente,"; $sql.= " p.tms as datem"; $sql.= " FROM ".MAIN_DB_PREFIX."product as p"; -//$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product_subproduct as sp ON p.rowid = sp.fk_product_subproduct"; // Exclude record that are subproduct for module ??? -//$sql.= " WHERE sp.fk_product_subproduct IS NULL"; $sql.= " WHERE p.entity = ".$conf->entity; if (empty($user->rights->produit->hidden) && empty($user->rights->service->hidden)) $sql.=' AND p.hidden=0'; else