aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailreport/status_mail_report_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-01-02 10:05:57 -0500
committerjim-p <jimp@pfsense.org>2014-01-02 10:06:18 -0500
commitc651d4bea6c81d610008a01cb9d7793bfbf0dff6 (patch)
tree8b416d8a5b3e165f41fad1557bbdf104bd953864 /config/mailreport/status_mail_report_edit.php
parent8950feb1d56407b3b5af01722a6db2f64020b25b (diff)
downloadpfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.tar.gz
pfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.tar.bz2
pfsense-packages-c651d4bea6c81d610008a01cb9d7793bfbf0dff6.zip
Remove mailreports redirect if RRD is disabled (except for page adding an rrd graph). Since it works with other info, it no longer r
elies on RRD being enabled. Also fixup (c), filename, and privilege headers.
Diffstat (limited to 'config/mailreport/status_mail_report_edit.php')
-rw-r--r--config/mailreport/status_mail_report_edit.php18
1 files changed, 6 insertions, 12 deletions
diff --git a/config/mailreport/status_mail_report_edit.php b/config/mailreport/status_mail_report_edit.php
index dcfa6d98..9e6bb071 100644
--- a/config/mailreport/status_mail_report_edit.php
+++ b/config/mailreport/status_mail_report_edit.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report_edit.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -32,21 +32,15 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreportsedit
+##|*NAME=Status: E-Mail Reports: Edit Report page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports: Edit Report' page.
+##|*MATCH=status_mail_report_edit.php*
##|-PRIV
require("guiconfig.inc");
require_once("mail_reports.inc");
-/* if the rrd graphs are not enabled redirect to settings page */
-if(! isset($config['rrd']['enable'])) {
- header("Location: status_rrd_graph_settings.php");
- return;
-}
-
$cmdid = $_REQUEST['cmdid'];
$logid = $_REQUEST['logid'];
$graphid = $_REQUEST['graphid'];