Remove the email function

It was removed from pi-hole in 5.12 by this PR https://github.com/pi-hole/pi-hole/pull/4870

Signed-off-by: LaboDJ <2527836+labodj@users.noreply.github.com>
This commit is contained in:
LaboDJ
2022-09-03 04:48:11 +02:00
committed by LaboDJ
parent f044e58b5c
commit 540ca1e31f
3 changed files with 0 additions and 10 deletions

View File

@@ -524,11 +524,3 @@ setup_web_layout() {
fi
fi
}
setup_admin_email() {
local EMAIL="${ADMIN_EMAIL}"
# check if var is empty
if [[ "$EMAIL" != "" ]] ; then
pihole -a -e "$EMAIL"
fi
}