[Vtigercrm-commits] [vtiger-commits] r4315 - /vtigercrm/trunk/include/utils/UserInfoUtil.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 20 02:43:39 EST 2006


Author: don
Date: Mon Mar 20 00:43:35 2006
New Revision: 4315

Log:
Fixed the issue of deleting of sharing rules during group deletion

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

Modified: vtigercrm/trunk/include/utils/UserInfoUtil.php
==============================================================================
--- vtigercrm/trunk/include/utils/UserInfoUtil.php (original)
+++ vtigercrm/trunk/include/utils/UserInfoUtil.php Mon Mar 20 00:43:35 2006
@@ -2776,6 +2776,7 @@
 function deleteGroup($groupId)
 {
 	global $adb;
+	deleteGroupRelatedSharingRules($groupId);		
 	$query="delete from groups where groupid=".$groupId;
 	$adb->query($query);
 
@@ -2783,7 +2784,6 @@
 	deleteGroupRelatedRoles($groupId);
 	deleteGroupRelatedRolesAndSubordinates($groupId);
 	deleteGroupRelatedUsers($groupId);
-	deleteGroupRelatedSharingRules($groupId);		
 
 }
 





More information about the vtigercrm-commits mailing list