From 10ef50a6eb0fdf94d2a41b08cd186970a19a94d4 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 19 Dec 2016 11:59:09 +0100 Subject: [PATCH] Removed another $hostname = ... --- data.php | 1 - 1 file changed, 1 deletion(-) diff --git a/data.php b/data.php index 1d163c67..65d0a7aa 100644 --- a/data.php +++ b/data.php @@ -307,7 +307,6 @@ } function countBlockedQueries() { - $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F"); return exec("grep \"gravity.list\" /var/log/pihole.log | grep -c \" is \""); }