mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user