[Vtigercrm-commits] [vtiger-commits] r5499 - /vtigercrm/trunk/include/utils/GetUserGroups.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 11:10:36 EDT 2006


Author: saraj
Date: Thu Apr 27 09:10:27 2006
New Revision: 5499

Log:
log entries have been inserted in all functions

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

Modified: vtigercrm/trunk/include/utils/GetUserGroups.php
==============================================================================
--- vtigercrm/trunk/include/utils/GetUserGroups.php (original)
+++ vtigercrm/trunk/include/utils/GetUserGroups.php Thu Apr 27 09:10:27 2006
@@ -24,7 +24,8 @@
          */
 	function getAllUserGroups($userid)
 	{
-		global $adb;
+		global $adb,$log;
+		$log->debug("Entering getAllUserGroups(".$userid.") method...");
 		//Retreiving from the user2grouptable
 		$query="select * from users2group where userid=".$userid;
 		$result = $adb->query($query);
@@ -91,7 +92,7 @@
 			}
 								
 		} 
-		
+		$log->debug("Exiting getAllUserGroups method...");	
 	
 	}
 





More information about the vtigercrm-commits mailing list