summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-12 18:55:37 +0000
committeralecpl <alec@alec.pl>2008-11-12 18:55:37 +0000
commit146977e30e81b6098e2f40f2879c219b695439a5 (patch)
tree79eebfa67072ad682bb505ae09f93c2ac63d2aca /program/steps
parent0803fb007eae33c43446460e25fdc40f6c550423 (diff)
- fix doubled timestamp in sendmail log
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 85a92cfc4..ca7c4e727 100644
--- a/program/steps/mail/func.inc
+++ b/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,