diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 1bb193ad9..61993a243 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -826,19 +826,10 @@ print < END ; - # Check if a ruleset source has been configured yet. - unless($rulessettings{'RULES'}) { - # If no ruleset settings have been saved yet, disable the button to download / update the ruleset. - print"\n"; - } else { - # Ruleset setting have been saved. - Check if a ruleset already is downloaded. + # Check if a ruleset has been downloaded yet. if (%idsrules) { - # Allow to press the button and show it as "update ruleset". + # Display button to update the ruleset. print"\n"; - } else { - # Also allow to press the button, but show it as "download new ruleset". - print"\n"; - } } print <