global-functions: $IsTimeSync: drop the extra condition...

... as ddns is not required to be enabled. The public address is
available anyway, but not set in DNS.
This commit is contained in:
Christian Hesse 2022-07-21 13:35:14 +02:00
parent ed7b48061a
commit 329e606b93

View file

@ -490,7 +490,7 @@
:return false;
}
:if ([ /ip/cloud/get ddns-enabled ] = true && [ /ip/cloud/get update-time ] = true) do={
:if ([ /ip/cloud/get update-time ] = true) do={
:if ([ :typeof [ /ip/cloud/get public-address ] ] = "ip") do={
:return true;
}