From 1f9d17ef8d0577f8e56d6426975823d9bc68ead2 Mon Sep 17 00:00:00 2001 From: gnhb Date: Wed, 23 Feb 2011 23:54:21 +0700 Subject: Revert "Prevent GUI from giving error for freeDNS service since username and password" This reverts commit 740f745922549283e29d3d964c7a60266d7dbf0a. This is a little ugly. Let's do it a little differently. --- usr/local/www/services_dyndns_edit.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'usr') diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index aa81b45..9ff0f22 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -76,10 +76,6 @@ if ($_POST) { unset($input_errors); $pconfig = $_POST; - if($pconfig['type'] == "freedns") { - $_POST['username'] = "free"; - $_POST['password'] = "dns"; - } /* input validation */ $reqdfields = array(); @@ -110,11 +106,6 @@ if ($_POST) { $dyndns['interface'] = $_POST['interface']; $dyndns['descr'] = $_POST['descr']; - if($dyndns['type'] == "freedns") { - $dyndns['username'] = ""; - $dyndns['password'] = ""; - } - if (isset($id) && $a_dyndns[$id]) $a_dyndns[$id] = $dyndns; else @@ -196,8 +187,6 @@ include("head.inc");
-
- -- cgit v1.1