diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-04 15:37:39 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-04 14:15:21 -0200 |
commit | 0349ebaa58b65c6699a290509a7508f718b9fc2e (patch) | |
tree | 56fe5bc414e72f2696acbdd5c1eff7ccbcd58d6a | |
parent | 6b680dacd66d83ce140563f4d753e8404681f88b (diff) | |
download | pfsense-0349ebaa58b65c6699a290509a7508f718b9fc2e.zip pfsense-0349ebaa58b65c6699a290509a7508f718b9fc2e.tar.gz |
Remove unused print_info_box($savemsg)
These are files that make no use of $savemsg.
May as well remove the print_info_box($savemsg) to avoid future
confusion for maintainers wondering why it is there.
(cherry picked from commit 24a4f2ef15a09740a1c13850f85dc345f08cd653)
-rw-r--r-- | src/usr/local/www/services_captiveportal.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_captiveportal_hostname.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_captiveportal_ip.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_captiveportal_vouchers_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_captiveportal_zones.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_checkip_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_dyndns_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_pppoe_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/services_rfc2136_edit.php | 4 |
9 files changed, 0 insertions, 36 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index d78a0c2..0c585e8 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -556,10 +556,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $tab_array = array(); $tab_array[] = array(gettext("Configuration"), true, "services_captiveportal.php?zone={$cpzone}"); $tab_array[] = array(gettext("MACs"), false, "services_captiveportal_mac.php?zone={$cpzone}"); diff --git a/src/usr/local/www/services_captiveportal_hostname.php b/src/usr/local/www/services_captiveportal_hostname.php index bfe4279..b84b357 100644 --- a/src/usr/local/www/services_captiveportal_hostname.php +++ b/src/usr/local/www/services_captiveportal_hostname.php @@ -129,10 +129,6 @@ if ($_GET['act'] == "del" && !empty($cpzone) && isset($cpzoneid)) { include("head.inc"); -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $tab_array = array(); $tab_array[] = array(gettext("Configuration"), false, "services_captiveportal.php?zone={$cpzone}"); $tab_array[] = array(gettext("MACs"), false, "services_captiveportal_mac.php?zone={$cpzone}"); diff --git a/src/usr/local/www/services_captiveportal_ip.php b/src/usr/local/www/services_captiveportal_ip.php index 8fe8911..ceb6631 100644 --- a/src/usr/local/www/services_captiveportal_ip.php +++ b/src/usr/local/www/services_captiveportal_ip.php @@ -123,10 +123,6 @@ if ($_GET['act'] == "del" && !empty($cpzone) && isset($cpzoneid)) { include("head.inc"); -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $tab_array = array(); $tab_array[] = array(gettext("Configuration"), false, "services_captiveportal.php?zone={$cpzone}"); $tab_array[] = array(gettext("MACs"), false, "services_captiveportal_mac.php?zone={$cpzone}"); diff --git a/src/usr/local/www/services_captiveportal_vouchers_edit.php b/src/usr/local/www/services_captiveportal_vouchers_edit.php index 029a520..f3e3f73 100644 --- a/src/usr/local/www/services_captiveportal_vouchers_edit.php +++ b/src/usr/local/www/services_captiveportal_vouchers_edit.php @@ -207,10 +207,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $form = new Form(); $section = new Form_Section('Voucher Rolls'); diff --git a/src/usr/local/www/services_captiveportal_zones.php b/src/usr/local/www/services_captiveportal_zones.php index 61bc6b0..d47a45a 100644 --- a/src/usr/local/www/services_captiveportal_zones.php +++ b/src/usr/local/www/services_captiveportal_zones.php @@ -92,10 +92,6 @@ $pgtitle = array(gettext("Services"), gettext("Captive Portal")); $shortcut_section = "captiveportal"; include("head.inc"); -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - if (is_subsystem_dirty('captiveportal')) { print_apply_box(gettext("The Captive Portal entry list has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect.")); } diff --git a/src/usr/local/www/services_checkip_edit.php b/src/usr/local/www/services_checkip_edit.php index 50c3c8c..e1b1c7d 100644 --- a/src/usr/local/www/services_checkip_edit.php +++ b/src/usr/local/www/services_checkip_edit.php @@ -144,10 +144,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $form = new Form; $section = new Form_Section('Check IP Service'); diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php index 84b6e77..6842a7e 100644 --- a/src/usr/local/www/services_dyndns_edit.php +++ b/src/usr/local/www/services_dyndns_edit.php @@ -278,10 +278,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $form = new Form; $section = new Form_Section('Dynamic DNS Client'); diff --git a/src/usr/local/www/services_pppoe_edit.php b/src/usr/local/www/services_pppoe_edit.php index 3cf6c7f..3d2a4e3 100644 --- a/src/usr/local/www/services_pppoe_edit.php +++ b/src/usr/local/www/services_pppoe_edit.php @@ -317,10 +317,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $form = new Form(); $section = new Form_Section('PPPoE Server Configuration'); diff --git a/src/usr/local/www/services_rfc2136_edit.php b/src/usr/local/www/services_rfc2136_edit.php index 96bf781..ce4fbb3 100644 --- a/src/usr/local/www/services_rfc2136_edit.php +++ b/src/usr/local/www/services_rfc2136_edit.php @@ -184,10 +184,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $form = new Form; $section = new Form_Section('RFC 2136 Client'); |