summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-12 18:55:37 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-12 18:55:37 +0000
commit292fafe6cd148edb837276afe2aa15cde42f6a32 (patch)
tree4b9d2916447df50a64512e16ede997016ecbf31f /roundcubemail/program
parent4110ddd5420d92b6a21f8d005be1cd2917df597b (diff)
- fix doubled timestamp in sendmail log
git-svn-id: https://svn.roundcube.net/trunk@2047 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/func.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 85a92cfc4..ca7c4e727 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -1208,8 +1208,7 @@ function rcmail_deliver_message(&$message, $from, $mailto)
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,