Forráskód Böngészése

Remove dns_he_ddns_rm(), not used

Markku Leiniö 1 éve
szülő
commit
c96fcf319a
1 módosított fájl, 2 hozzáadás és 8 törlés
  1. 2 8
      dnsapi/dns_he_ddns.sh

+ 2 - 8
dnsapi/dns_he_ddns.sh

@@ -33,11 +33,5 @@ dns_he_ddns_add() {
   _contains "$response" "good" && return 0 || return 1
 }
 
-#Usage: fulldomain txtvalue
-#Remove the txt record after validation.
-dns_he_ddns_rm() {
-  fulldomain=$1
-  txtvalue=$2
-  _debug fulldomain "$fulldomain"
-  _debug txtvalue "$txtvalue"
-}
+# dns_he_ddns_rm() is not implemented because the API call always updates the
+# contents of the existing record (that the API key gives access to).