diff options
-rw-r--r-- | config/mailreport/status_mail_report.php | 1 | ||||
-rw-r--r-- | config/mailreport/status_mail_report_edit.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/mailreport/status_mail_report.php b/config/mailreport/status_mail_report.php index d694e44f..4dc195bc 100644 --- a/config/mailreport/status_mail_report.php +++ b/config/mailreport/status_mail_report.php @@ -60,6 +60,7 @@ if ($_GET['act'] == "del") { set_mail_report_cron_jobs($a_mailreports); write_config("Removed Mail Report '{$name}'"); + configure_cron(); header("Location: status_mail_report.php"); exit; } diff --git a/config/mailreport/status_mail_report_edit.php b/config/mailreport/status_mail_report_edit.php index 36e568f9..fe9a5194 100644 --- a/config/mailreport/status_mail_report_edit.php +++ b/config/mailreport/status_mail_report_edit.php @@ -136,8 +136,9 @@ if ($_POST) { // Fix up cron job(s) set_mail_report_cron_jobs($a_mailreports); - write_config(); + configure_cron(); + header("Location: status_mail_report.php"); exit; } |