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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 02:15:29 EDT 2006


Author: richie
Date: Wed Jul  5 00:15:26 2006
New Revision: 7822

Log:
changes made to delete contact from activity relatedlist

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 Wed Jul  5 00:15:26 2006
@@ -72,6 +72,11 @@
 		if($return_module == 'Vendors')
 		{
 			$sql = "delete from vtiger_vendorcontactrel where vendorid=$return_id and contactid=$record";
+			$adb->query($sql);
+		}
+		if($return_module == 'Activities')
+		{
+			$sql = "delete from vtiger_cntactivityrel where activityid=$return_id and contactid=$record";
 			$adb->query($sql);
 		}
 	break;





More information about the vtigercrm-commits mailing list