Don't need to get $hostname anymore

This commit is contained in:
DL6ER
2016-12-19 11:56:06 +01:00
parent 2d7ef8fd9a
commit c04c8f93a0
-1
View File
@@ -280,7 +280,6 @@
function getBlockedQueries(\SplFileObject $log) {
$log->rewind();
$lines = [];
$hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F");
foreach ($log as $line) {
$exploded = explode(" ", $line);
if(count($exploded) == 8) {