From 657ddf6d9e1840027fb637857cfc5834fffeb8bd Mon Sep 17 00:00:00 2001 From: thewer Date: Sun, 5 Mar 2017 23:09:38 +1000 Subject: [PATCH] Removed unrequited commented code --- dnsapi/dns_digitalocean.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dnsapi/dns_digitalocean.sh b/dnsapi/dns_digitalocean.sh index cabebff2..50dd43d0 100755 --- a/dnsapi/dns_digitalocean.sh +++ b/dnsapi/dns_digitalocean.sh @@ -59,15 +59,6 @@ dns_digitalocean_add() { fi _debug response "$response" - ## check for result and get the ID so we can delete it later - #response="$(echo "$response" | tr -d "\n" | sed 's/{/\n&/g')" - #do_id="$(echo "$response" | _egrep_o "id\"\s*\:\s*\d+" | _egrep_o "\d+" )" - #if [ -z "$do_id" ]; then - # _err "error getting ID from response: $response" - # return 1; - #fi - #_debug do_id "$do_id" - ## finished correctly return 0 }