Commit 86daaf4b authored by Bjarne Saltbaek's avatar Bjarne Saltbaek
Browse files

Added remove entry debug

parent d5b4f029
...@@ -72,6 +72,7 @@ dns_cpanel_rm() { ...@@ -72,6 +72,7 @@ dns_cpanel_rm() {
_debug "Deleting record..." _debug "Deleting record..."
_myget "json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=remove_zone_record&domain=$_domain&line=$_id" _myget "json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=remove_zone_record&domain=$_domain&line=$_id"
# removing entry # removing entry
_debug "_result is: $_result"
if _successful_update; then return 0; fi if _successful_update; then return 0; fi
_err "Couldn't delete entry!" _err "Couldn't delete entry!"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment