mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-23 20:08:51 +00: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:
@@ -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