From ba11056689d727dd40b54e2d349446a66762f6ce Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 22 Mar 2008 09:00:23 +0000 Subject: [PATCH] ebl cleanup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6661 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/cgi/btime.pl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gui/bweb/cgi/btime.pl b/gui/bweb/cgi/btime.pl index ee75074c2d..12425867ee 100755 --- a/gui/bweb/cgi/btime.pl +++ b/gui/bweb/cgi/btime.pl @@ -47,8 +47,9 @@ $conf->load(); my $bweb = new Bweb(info => $conf); $bweb->can_do('r_view_stat'); -my $arg = $bweb->get_form(qw/qnocache qiso_begin qiso_end qusage qpools qpoolusage qnojob - jclient_groups db_client_groups qclient_groups/); +my $arg = $bweb->get_form(qw/qnocache qiso_begin qiso_end qusage qpools + qpoolusage qnojob jclient_groups + db_client_groups qclient_groups/); my ($filter1, undef) = $bweb->get_param('pool'); if (!$arg->{qiso_begin}) { @@ -62,7 +63,10 @@ my $md5_rep = md5_hex("$arg->{qiso_begin}:$arg->{qiso_end}:$arg->{qusage}:" . print CGI::header('text/html'); $bweb->display_begin(); -if (!$arg->{qnocache} && $arg->{qiso_begin} && -f "$conf->{fv_write_path}/$md5_rep.png") { +if ( !$arg->{qnocache} + && $arg->{qiso_begin} + && -f "$conf->{fv_write_path}/$md5_rep.png") +{ $arg->{result} = "/bweb/fv/$md5_rep.png"; $bweb->display($arg, 'btime.tpl'); @@ -279,7 +283,6 @@ if ($arg->{qusage}) { } #print STDERR Data::Dumper::Dumper($top); - $top->finalize(); open(FP, ">$conf->{fv_write_path}/$md5_rep.png"); -- 2.39.5