Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Jun 17, 2018
1 parent a0f9a1b commit 3f72469
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
12 changes: 0 additions & 12 deletions scripts/pi-hole/js/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ function refresh(fade) {
});
});
}


/*
// Blacklist: exact + wildcard array
entry = entry.substr(1, entry.length - 1);
if(data.length === 2)
{
}
else
{
*/
}
list.fadeIn(100);
if(listw)
Expand Down
6 changes: 3 additions & 3 deletions scripts/pi-hole/php/get.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
break;

case "black":
$exact = array(getListContent("blacklist.txt"));
$regex = array(getListContent("regex.list"));
$list = array_merge($exact, $regex);
$exact = getListContent("blacklist.txt");
$regex = getListContent("regex.list");
$list = array($exact, $regex);
break;

default:
Expand Down

0 comments on commit 3f72469

Please sign in to comment.