- fix doubled timestamp in sendmail log

release-0.6
alecpl 16 years ago
parent 0803fb007e
commit 146977e30e

@ -1208,8 +1208,7 @@ function rcmail_deliver_message(&$message, $from, $mailto)
unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']); unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']);
if ($CONFIG['smtp_log']) if ($CONFIG['smtp_log'])
write_log('sendmail', sprintf("[%s] User: %s on %s; Message for %s; %s", write_log('sendmail', sprintf("User %s [%s]; Message for %s; %s",
date("d-M-Y H:i:s O", mktime()),
$RCMAIL->user->get_username(), $RCMAIL->user->get_username(),
$_SERVER['REMOTE_ADDR'], $_SERVER['REMOTE_ADDR'],
$mailto, $mailto,

Loading…
Cancel
Save