From 0c8cc91517e200aba1cea0079a135e3c8da5b9a2 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 19 Feb 2014 04:53:48 -0800 Subject: Remove old webguiport code webguiport is managed in system_advanced_admin.php these days, not here in system.php. This validation is never executed, so might a well clean up old unused code. --- usr/local/www/system.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'usr/local/www/system.php') diff --git a/usr/local/www/system.php b/usr/local/www/system.php index ead4700..28811b7 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -140,11 +140,6 @@ if ($_POST) { } } - if ($_POST['webguiport'] && (!is_numericint($_POST['webguiport']) || - ($_POST['webguiport'] < 1) || ($_POST['webguiport'] > 65535))) { - $input_errors[] = gettext("A valid TCP/IP port must be specified for the webConfigurator port."); - } - $direct_networks_list = explode(" ", filter_get_direct_networks_list()); for ($dnscounter=1; $dnscounter<5; $dnscounter++) { $dnsitem = "dns{$dnscounter}"; -- cgit v1.1