From c81e2591bd7df44258d622735f149ef82504cefa Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 30 Jan 2017 23:44:14 +0100 Subject: [PATCH] Remove debug mode --- scripts/pi-hole/php/savesettings.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php index 835ec675..5e2d4f67 100644 --- a/scripts/pi-hole/php/savesettings.php +++ b/scripts/pi-hole/php/savesettings.php @@ -360,7 +360,6 @@ function readStaticLeasesFile() if(isset($_POST["addstatic"])) { - $debug = true; $mac = $_POST["AddMAC"]; $ip = $_POST["AddIP"]; $hostname = $_POST["AddHostname"]; @@ -412,7 +411,6 @@ function readStaticLeasesFile() if(isset($_POST["removestatic"])) { - $debug = true; $mac = $_POST["removestatic"]; if(!validMAC($mac)) {