[Vtigercrm-commits] [vtiger-commits] r7439 - in /vtigercrm/trunk/modules: Contacts/CallRelatedList.php Leads/CallRelatedList.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 00:18:47 EDT 2006


Author: saraj
Date: Thu Jun 22 22:18:42 2006
New Revision: 7439

Log:
unwanted code has been removed

Modified:
    vtigercrm/trunk/modules/Contacts/CallRelatedList.php
    vtigercrm/trunk/modules/Leads/CallRelatedList.php

Modified: vtigercrm/trunk/modules/Contacts/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Contacts/CallRelatedList.php Thu Jun 22 22:18:42 2006
@@ -33,10 +33,6 @@
 $accountid = $adb->query_result($sql,0,'accountid');
 if($accountid == 0) $accountid='';
 
-$sql1 = $adb->query('select campaignid from vtiger_contactdetails where contactid='.$focus->id);
-$campaignid = $adb->query_result($sql1,0,'campaignid');
-if($campaignid == 0) $campaignid='';
-
 global $mod_strings;
 global $app_strings;
 global $theme;
@@ -47,7 +43,6 @@
 
 $smarty = new vtigerCRM_Smarty;
 $smarty->assign("accountid",$accountid);
-$smarty->assign("campaignid",$campaignid);
 	
 
 if(isset($_request['isduplicate']) && $_request['isduplicate'] == 'true') {

Modified: vtigercrm/trunk/modules/Leads/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Leads/CallRelatedList.php Thu Jun 22 22:18:42 2006
@@ -50,11 +50,6 @@
        unset($_SESSION['rlvs']);
  }
 	
-$sql1 = $adb->query('select campaignid from vtiger_leaddetails where leadid='.$focus->id);
-$campaignid = $adb->query_result($sql1,0,'campaignid');
-if($campaignid == 0) $campaignid='';
-$smarty->assign("campaignid",$campaignid);
-
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
 $parent_email = getEmailParentsList('Leads',$focus->id);





More information about the vtigercrm-commits mailing list