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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 03:15:30 EDT 2006


Author: richie
Date: Wed Jun 28 01:14:53 2006
New Revision: 7597

Log:
Added vtiger_ in getUniqueID function parameter

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 Wed Jun 28 01:14:53 2006
@@ -529,7 +529,7 @@
 	global $adb;
 	$parentRoleDetails=getRoleInformation($parentRoleId);
 	$parentRoleInfo=$parentRoleDetails[$parentRoleId];
-	$roleid_no=$adb->getUniqueId("role");
+	$roleid_no=$adb->getUniqueId("vtiger_role");
         $roleId='H'.$roleid_no;
         $parentRoleHr=$parentRoleInfo[1];
         $parentRoleDepth=$parentRoleInfo[2];
@@ -2803,7 +2803,7 @@
 	global $log;
 	$log->debug("Entering createGroup(".$groupName.",".$groupMemberArray.",".$description.") method ...");
 	global $adb;
-	$groupId=$adb->getUniqueId("groups");
+	$groupId=$adb->getUniqueId("vtiger_groups");
 	//Insert into group vtiger_table
 	$query = "insert into vtiger_groups values(".$groupId.",'".$groupName."','".$description."')";
 	$adb->query($query);
@@ -3266,7 +3266,7 @@
 	$log->debug("Entering addSharingRule(".$tabid.",".$shareEntityType.",".$toEntityType.",".$shareEntityId.",".$toEntityId.",".$sharePermission.") method ...");
 	
 	global $adb;
-	$shareid=$adb->getUniqueId("datashare_module_rel");
+	$shareid=$adb->getUniqueId("vtiger_datashare_module_rel");
 	
 
 	if($shareEntityType == 'groups' && $toEntityType == 'groups')





More information about the vtigercrm-commits mailing list