Added a notification function for outages

pull/1/head
root 16 years ago
parent ede8fe9c97
commit c21758747c

@ -719,6 +719,12 @@
printf(_("Your certificate request is still queued and hasn't been processed yet. Please wait, and go to Certificates -> View to see it's status."));
else
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions.")." certid:$table:".intval($certid), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
$body = "A certificate has timed out!\n\n";
$body .= _("Best regards")."\n"._("CAcert.org Support!");
sendmail("philipp@cacert.org", "[CAcert.org] Certificate TIMEOUT", $body, "philipp@cacert.org", "", "", "CAcert Support");
if($show) showfooter();
if($show) exit;
}

Loading…
Cancel
Save