X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fids.cgi;h=61993a243a2d9c857f98cacffa0b554b3d1495b6;hp=1bb193ad95903d9783bdd928c3c973c49cd60106;hb=d618d67e010e94e1ef26f2570abe9d6748e90416;hpb=674912fc3abe6283566c4e51a5360dcbf5850f36 diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 1bb193ad95..61993a243a 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 <