Remove unused/dead old code

- "quiet" option and related functions (used by blocking page);
- "adlist" option (used by blocking page).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2023-01-13 14:38:12 -03:00
parent 393302efbc
commit 9c62cc5225
2 changed files with 3 additions and 30 deletions

View File

@@ -58,7 +58,7 @@ if (isset($_GET['showall'])) {
$options .= ' -all';
}
$proc = popen('sudo pihole -q -adlist '.$url.$options, 'r');
$proc = popen('sudo pihole -q '.$url.$options, 'r');
while (!feof($proc)) {
echoEvent(fread($proc, 4096));
}