From d94b347733548ac3e09e6f2a3b3b1d1c6e03a651 Mon Sep 17 00:00:00 2001 From: Daniel Kearns Date: Wed, 12 Jun 2019 14:23:22 +0100 Subject: [PATCH] removed unused code --- notify/pushover.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/notify/pushover.sh b/notify/pushover.sh index 4db3ca7a..da284930 100644 --- a/notify/pushover.sh +++ b/notify/pushover.sh @@ -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 - }