From 87df37da7abbb04eb83d0803c1237039c8dddfd3 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 22 Mar 2021 14:42:42 +0100 Subject: [PATCH] ids.cgi: Stop showing ruleset date on customize rulest sub-page. Signed-off-by: Stefan Schantl --- html/cgi-bin/ids.cgi | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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 -- 2.39.2