mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Remove saving backend for settings moved into local storage.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -525,18 +525,6 @@ function addStaticDHCPLease($mac, $ip, $hostname) {
|
||||
break;
|
||||
|
||||
case "webUI":
|
||||
if($_POST["tempunit"] == "F")
|
||||
{
|
||||
pihole_execute('-a -f');
|
||||
}
|
||||
elseif($_POST["tempunit"] == "K")
|
||||
{
|
||||
pihole_execute('-a -k');
|
||||
}
|
||||
else
|
||||
{
|
||||
pihole_execute('-a -c');
|
||||
}
|
||||
$adminemail = trim($_POST["adminemail"]);
|
||||
if(strlen($adminemail) == 0 || !isset($adminemail))
|
||||
{
|
||||
@@ -550,14 +538,6 @@ function addStaticDHCPLease($mac, $ip, $hostname) {
|
||||
{
|
||||
pihole_execute('-a -e \''.$adminemail.'\'');
|
||||
}
|
||||
if(isset($_POST["boxedlayout"]))
|
||||
{
|
||||
pihole_execute('-a layout boxed');
|
||||
}
|
||||
else
|
||||
{
|
||||
pihole_execute('-a layout traditional');
|
||||
}
|
||||
if(isset($_POST["webtheme"]))
|
||||
{
|
||||
global $available_themes;
|
||||
|
||||
Reference in New Issue
Block a user