mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-05-08 09:48:31 +01:00
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:
@@ -43,7 +43,6 @@ setup_lighttpd_bind
|
||||
|
||||
# Misc Setup
|
||||
# ===========================
|
||||
setup_admin_email
|
||||
setup_blocklists
|
||||
|
||||
# FTL setup
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user