[Vtigercrm-commits] [vtiger-commits] r9034 - /vtigercrm/trunk/include/utils/DeleteUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Aug 18 09:08:44 EDT 2006
Author: richie
Date: Fri Aug 18 07:08:40 2006
New Revision: 9034
Log:
changes made to fix the relatedlist issue --Minnie
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 Fri Aug 18 07:08:40 2006
@@ -39,6 +39,15 @@
if($return_id!='')
{
$sql ='delete from vtiger_seactivityrel where crmid = '.$record.' and activityid = '.$return_id;
+ $adb->query($sql);
+ }
+ break;
+ case Campaigns:
+ if($return_module == "Leads") {
+ $sql = 'delete from vtiger_campaignleadrel where campaignid='.$record.' and leadid='.$return_id;
+ $adb->query($sql);
+ } elseif($return_module == "Contacts") {
+ $sql = 'delete from vtiger_campaigncontrel where campaignid='.$record.' and contactid='.$return_id;
$adb->query($sql);
}
break;
More information about the vtigercrm-commits
mailing list