From a808bb55189a44d0c3b2965805c14644f8102cca Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 6 Jan 2024 02:21:56 -0600 Subject: [PATCH] all engines still firing Signed-off-by: Jeff Carr --- hostname.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/hostname.go b/hostname.go index 10211ba..062f033 100644 --- a/hostname.go +++ b/hostname.go @@ -7,7 +7,7 @@ import ( "go.wit.com/log" "go.wit.com/shell" - "go.wit.com/gui/cloudflare" +// "go.wit.com/gui/cloudflare" "github.com/miekg/dns" // will try to get this hosts FQDN @@ -53,15 +53,6 @@ func getHostname() { me.hostnameStatus.SetText("VALID") me.changed = true } - // enable the cloudflare button if the provider is cloudflare - if (me.cloudflareB == nil) { - log.Log(CHANGE, "me.cloudflare == nil; me.DnsAPI.S =", me.DnsAPI.S) - if (me.DnsAPI.S == "cloudflare") { - me.cloudflareB = me.mainStatus.NewButton("cloudflare wit.com", func () { - cloudflare.CreateRR(me.myGui, "wit.com", "3777302ac4a78cd7fa4f6d3f72086d06") - }) - } - } } }