mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Removed useless error
This commit is contained in:
parent
3bd427afab
commit
7117c61bbf
2 changed files with 0 additions and 7 deletions
|
@ -339,7 +339,6 @@
|
|||
"domain_dns_registrar_supported": "YunoHost automatically detected that this domain is handled by the registrar **{registrar}**. If you want, YunoHost will automatically configure this DNS zone, if you provide it with the appropriate API credentials. You can find documentation on how to obtain your API credentials on this page: https://yunohost.org/registar_api_{registrar}. (You can also manually configure your DNS records following the documentation at https://yunohost.org/dns )",
|
||||
"domain_dns_registrar_yunohost": "This domain is a nohost.me / nohost.st / ynh.fr and its DNS configuration is therefore automatically handled by YunoHost without any further configuration. (see the 'yunohost domain dns push DOMAIN' command)",
|
||||
"domain_dyndns_already_subscribed": "You have already subscribed to a DynDNS domain",
|
||||
"domain_dyndns_root_unknown": "Unknown DynDNS root domain",
|
||||
"domain_exists": "The domain already exists",
|
||||
"domain_hostname_failed": "Unable to set new hostname. This might cause an issue later (it might be fine).",
|
||||
"domain_registrar_is_not_configured": "The registrar is not yet configured for domain {domain}.",
|
||||
|
|
|
@ -176,12 +176,6 @@ def domain_add(operation_logger, domain, subscribe=None, no_subscribe=False):
|
|||
if _guess_current_dyndns_domain() != (None, None):
|
||||
raise YunohostValidationError("domain_dyndns_already_subscribed")
|
||||
|
||||
# Check that this domain can effectively be provided by
|
||||
# dyndns.yunohost.org. (i.e. is it a nohost.me / noho.st)
|
||||
if not is_yunohost_dyndns_domain(domain):
|
||||
raise YunohostValidationError("domain_dyndns_root_unknown")
|
||||
|
||||
|
||||
operation_logger.start()
|
||||
if not dyndns and (subscribe is not None or no_subscribe):
|
||||
logger.warning("This domain is not a DynDNS one, no need for the --subscribe or --no-subscribe option")
|
||||
|
|
Loading…
Add table
Reference in a new issue