mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-14 14:32:54 +00:00
removed unused code
This commit is contained in:
parent
6f33f61838
commit
d94b347733
@ -32,8 +32,6 @@ pushover_send() {
|
||||
fi
|
||||
_saveaccountconf_mutable PUSHOVER_SOUND "$PUSHOVER_SOUND"
|
||||
|
||||
_H1="Content-Type: application/json"
|
||||
|
||||
_data="{\"token\": \"$PUSHOVER_TOKEN\",\"user\": \"$PUSHOVER_USER\",\"title\": \"$_subject\",\"message\": \"$_content\",\"sound\": \"$PUSHOVER_SOUND\"}"
|
||||
|
||||
response="" #just make shellcheck happy
|
||||
@ -46,5 +44,4 @@ pushover_send() {
|
||||
_err "PUSHOVER send error."
|
||||
_err "$response"
|
||||
return 1
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user