Added debugging information

pull/1/head
root 16 years ago
parent 900b9f2894
commit 597c8728a5

@ -920,6 +920,7 @@ sub RevokeCerts($$)
my $body = _("Hi")." $user{fname},\n\n";
$body .= sprintf(_("Your certificate for %s has been revoked, as per request.")."\n\n", $row{'CN'});
$body .= _("Best regards")."\n"._("CAcert.org Support!")."\n\n";
SysLog("Sending email to ".$user{"email"}."\n") if($debug);
sendmail($user{email}, "[CAcert.org] "._("Your certificate"), $body, "support\@cacert.org", "", "", "CAcert Support");
}

Loading…
Cancel
Save