[Vtigercrm-commits] [vtiger-commits] r4675 - /vtigercrm/trunk/modules/Settings/SaveCurrencyInfo.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 29 06:45:24 EST 2006
Author: saraj
Date: Wed Mar 29 04:45:15 2006
New Revision: 4675
Log:
junk code has been removed
Modified:
vtigercrm/trunk/modules/Settings/SaveCurrencyInfo.php
Modified: vtigercrm/trunk/modules/Settings/SaveCurrencyInfo.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/SaveCurrencyInfo.php (original)
+++ vtigercrm/trunk/modules/Settings/SaveCurrencyInfo.php Wed Mar 29 04:45:15 2006
@@ -18,12 +18,6 @@
$conversion_rate= $_REQUEST['conversion_rate'];
$currency_status= $_REQUEST['currency_status'];
-
-//$sql1 = "delete from currency_info";
-//$adb->query($sql1);
-
-//$sql2 = "insert into currency_info values('".$currency_name."','".$currency_code."','".$currency_symbol."')";
-//$adb->query($sql2);
if(isset($_REQUEST['record']) && $_REQUEST['record']!='')
{
$sql = "update currency_info set currency_name ='".$currency_name."', currency_code ='".$currency_code."', currency_symbol ='".$currency_symbol."', conversion_rate ='".$conversion_rate."',currency_status='".$currency_status."' where id =".$_REQUEST['record'];
@@ -32,7 +26,6 @@
{
$sql = "insert into currency_info values(".$db->getUniqueID("currency_info").",'".$currency_name."','".$currency_code."','".$currency_symbol."','".$conversion_rate."','".$currency_status."','0')";
}
-//echo $sql;
$adb->query($sql);
$loc = "Location: index.php?module=Settings&action=CurrencyListView";
header($loc);
More information about the vtigercrm-commits
mailing list