From: Stefan Schantl Date: Mon, 22 Mar 2021 13:42:42 +0000 (+0100) Subject: ids.cgi: Stop showing ruleset date on customize rulest sub-page. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87df37da7abbb04eb83d0803c1237039c8dddfd3;p=people%2Fstevee%2Fipfire-2.x.git ids.cgi: Stop showing ruleset date on customize rulest sub-page. Signed-off-by: Stefan Schantl --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 01fb96cbe9..3f0ab07b2c 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -1116,22 +1116,7 @@ print < END ; - # Load neccessary perl modules for file stat and to format the timestamp. - use File::stat; - use POSIX qw( strftime ); - - # Call stat on the rulestarball. - my $stat = stat("$IDS::rulestarball"); - - if (defined $stat) { - # Get timestamp the file creation. - my $mtime = $stat->mtime; - - # Convert into human read-able format. - my $rulesdate = strftime('%Y-%m-%d %H:%M:%S', localtime($mtime)); - - &Header::openbox('100%', 'LEFT', "$Lang::tr{'intrusion detection system rules'} ($rulesdate)" ); - + &Header::openbox('100%', 'LEFT', "$Lang::tr{'intrusion detection system rules'}" ); print"
\n"; # Output display table for rule files