[Vtigercrm-commits] [vtiger-commits] r7455 - /vtigercrm/trunk/modules/Users/Authenticate.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 02:32:20 EDT 2006


Author: richie
Date: Fri Jun 23 00:32:03 2006
New Revision: 7455

Log:
insert into audit trial table done

Modified:
    vtigercrm/trunk/modules/Users/Authenticate.php

Modified: vtigercrm/trunk/modules/Users/Authenticate.php
==============================================================================
--- vtigercrm/trunk/modules/Users/Authenticate.php (original)
+++ vtigercrm/trunk/modules/Users/Authenticate.php Fri Jun 23 00:32:03 2006
@@ -23,7 +23,7 @@
 require_once('modules/Users/User.php');
 require_once('modules/Users/CreateUserPrivilegeFile.php');
 require_once('include/logging.php');
-//require_once('modules/Users/AccessControl.php');
+
 
 global $mod_strings;
 
@@ -38,6 +38,13 @@
 
 if($focus->is_authenticated())
 {
+
+	$date_var = date('YmdHis');
+	$query = "insert into vtiger_audit_trial values(".$adb->getUniqueID('vtiger_audit_trial').",".$focus->id.",'Users','Authenticate',$date_var)";
+	$adb->query($query);
+
+
+	
 	// Recording the login info
         $usip=$_SERVER['REMOTE_ADDR'];
         $intime=date("Y/m/d H:i:s");





More information about the vtigercrm-commits mailing list