[Vtigercrm-commits] [vtiger-commits] r4567 - /vtigercrm/trunk/include/utils/DeleteUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 02:36:21 EST 2006


Author: saraj
Date: Tue Mar 28 00:36:16 2006
New Revision: 4567

Log:
comments removed

Modified:
    vtigercrm/trunk/include/utils/DeleteUtils.php

Modified: vtigercrm/trunk/include/utils/DeleteUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DeleteUtils.php (original)
+++ vtigercrm/trunk/include/utils/DeleteUtils.php Tue Mar 28 00:36:16 2006
@@ -104,11 +104,8 @@
 		}
 		elseif($return_module=="Products")
 		{
-			//$relation_query = "DELETE from invoiceproductrel where productid=".$return_id." and invoiceid=".$record;
-			//$adb->query($relation_query);
 			//Removing the relation from the quotes product rel
 			$inv_query = "select * from invoiceproductrel where productid=".$return_id;
-			//echo $qt_query;
 			$result = $adb->query($inv_query);
 			$num_rows = $adb->num_rows($result);
 			for($i=0; $i< $num_rows; $i++)
@@ -220,11 +217,8 @@
 		}
 		elseif($return_module == "Products")
 		{
-			//$relation_query = "DELETE FROM quotesproductrel where productid=".$return_id." and quoteid=".$record;
-			//$adb->query($relation_query);
 			//Removing the relation from the quotes product rel
 			$qt_query = "select * from quotesproductrel where productid=".$return_id;
-			//echo $qt_query;
 			$result = $adb->query($qt_query);
 			$num_rows = $adb->num_rows($result);
 			for($i=0; $i< $num_rows; $i++)





More information about the vtigercrm-commits mailing list