mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove traces of leftover API_PRIVACY_MODE
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -75,15 +75,6 @@ else
|
||||
$showall = true;
|
||||
}
|
||||
|
||||
if(isset($setupVars["API_PRIVACY_MODE"]))
|
||||
{
|
||||
if($setupVars["API_PRIVACY_MODE"])
|
||||
{
|
||||
// Overwrite string from above
|
||||
$showing .= ", privacy mode enabled";
|
||||
}
|
||||
}
|
||||
|
||||
if(strlen($showing) > 0)
|
||||
{
|
||||
$showing = "(".$showing.")";
|
||||
|
||||
@@ -185,13 +185,6 @@ if (isset($setupVars["API_QUERY_LOG_SHOW"])) {
|
||||
$queryLog = "all";
|
||||
}
|
||||
|
||||
// Privacy Mode
|
||||
if (isset($setupVars["API_PRIVACY_MODE"])) {
|
||||
$privacyMode = $setupVars["API_PRIVACY_MODE"];
|
||||
} else {
|
||||
$privacyMode = false;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user