From 146977e30e81b6098e2f40f2879c219b695439a5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 12 Nov 2008 13:55:37 -0500
Subject: [PATCH] - fix doubled timestamp in sendmail log

---
 program/steps/mail/func.inc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 85a92cf..ca7c4e7 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1208,8 +1208,7 @@
     unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']);
     
     if ($CONFIG['smtp_log'])
-      write_log('sendmail', sprintf("[%s] User: %s on %s; Message for %s; %s",
-		date("d-M-Y H:i:s O", mktime()),
+      write_log('sendmail', sprintf("User %s [%s]; Message for %s; %s",
 		$RCMAIL->user->get_username(),
 		$_SERVER['REMOTE_ADDR'],
 		$mailto,

--
Gitblit v1.9.1