Removed testing var

This commit is contained in:
hyper 2016-11-23 17:07:45 +01:00 committed by sjau
parent a47acde977
commit f8c2f82d0a

View File

@ -132,7 +132,6 @@ _ISPC_addTxt() {
_ISPC_rmTxt() { _ISPC_rmTxt() {
# Need to get the record ID. # Need to get the record ID.
primary="\"primary_id\":{\"name\":\"${fulldomain}.\",\"type\":\"TXT\"}"
curData="{\"session_id\":\"${sessionID}\",\"primary_id\":{\"name\":\"${fulldomain}.\",\"type\":\"TXT\"}}" curData="{\"session_id\":\"${sessionID}\",\"primary_id\":{\"name\":\"${fulldomain}.\",\"type\":\"TXT\"}}"
curResult="$(_post "${curData}" "${ISPC_Api}?dns_txt_get")" curResult="$(_post "${curData}" "${ISPC_Api}?dns_txt_get")"
if _contains "${curResult}" '"code":"ok"'; then if _contains "${curResult}" '"code":"ok"'; then