Converted to Unix system files

This commit is contained in:
jengo 2001-11-01 04:05:18 +00:00
parent 6673d242a8
commit a43f8b6071

View File

@ -107,8 +107,7 @@
$db = $GLOBALS['phpgw']->db; $db = $GLOBALS['phpgw']->db;
// $db->lock('phpgw_log'); // $db->lock('phpgw_log');
$db->query ("insert into phpgw_log (log_date, log_user, log_app, log_severity) values " $db->query ("insert into phpgw_log (log_date, log_user, log_app, log_severity) values "
."('". $GLOBALS['phpgw']->db->to_timestamp(time() ."('". $GLOBALS['phpgw']->db->to_timestamp(time())
)
."','".$GLOBALS['phpgw']->session->account_id ."','".$GLOBALS['phpgw']->session->account_id
."','".$GLOBALS['phpgw_info']['flags']['currentapp']."'" ."','".$GLOBALS['phpgw_info']['flags']['currentapp']."'"
.",'".$this->severity()."'" .",'".$this->severity()."'"
@ -130,8 +129,7 @@
."log_msg_code, log_msg_msg, log_msg_parms, log_msg_file, log_msg_line) values " ."log_msg_code, log_msg_msg, log_msg_parms, log_msg_file, log_msg_line) values "
."(" . $log_id ."(" . $log_id
."," . $i ."," . $i
.", '" . $GLOBALS['phpgw']->db->to_timestamp($err->timestamp .", '" . $GLOBALS['phpgw']->db->to_timestamp($err->timestamp)
)
."', '". $err->severity . "'" ."', '". $err->severity . "'"
.", '". $err->code . "'" .", '". $err->code . "'"
.", '". $err->msg . "'" .", '". $err->msg . "'"