From 6f3b3785cee2d669d8176842492558ba692ed3ca Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 11 Mar 2008 14:17:36 +0000 Subject: [PATCH] ebl Fix files/bytes bar Disable mysql debug git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6586 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lang/en/tpl/client_job_status.tpl | 8 ++++---- gui/bweb/lang/es/tpl/client_job_status.tpl | 8 ++++---- gui/bweb/lang/fr/tpl/client_job_status.tpl | 8 ++++---- gui/bweb/lib/Bweb.pm | 2 +- gui/bweb/tpl/client_job_status.tpl | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gui/bweb/lang/en/tpl/client_job_status.tpl b/gui/bweb/lang/en/tpl/client_job_status.tpl index 9e7d8ee722..f87a3fa102 100644 --- a/gui/bweb/lang/en/tpl/client_job_status.tpl +++ b/gui/bweb/lang/en/tpl/client_job_status.tpl @@ -24,12 +24,12 @@ - Bytes done
+ Bytes done
- Files done
+ Files done
@@ -46,10 +46,10 @@ diff --git a/gui/bweb/lang/es/tpl/client_job_status.tpl b/gui/bweb/lang/es/tpl/client_job_status.tpl index c47d7aeed4..f0739f1374 100644 --- a/gui/bweb/lang/es/tpl/client_job_status.tpl +++ b/gui/bweb/lang/es/tpl/client_job_status.tpl @@ -24,12 +24,12 @@ - Bytes done
+ Bytes done
- Files done
+ Files done
@@ -46,10 +46,10 @@ diff --git a/gui/bweb/lang/fr/tpl/client_job_status.tpl b/gui/bweb/lang/fr/tpl/client_job_status.tpl index c6237e64a0..65c3e334c8 100644 --- a/gui/bweb/lang/fr/tpl/client_job_status.tpl +++ b/gui/bweb/lang/fr/tpl/client_job_status.tpl @@ -24,12 +24,12 @@ - Bytes done
+ Bytes done
- Files done
+ Files done
@@ -46,10 +46,10 @@ diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 0d8212a672..7e8b707de5 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -3884,7 +3884,7 @@ sub get_estimate_query my $query; - if (1 || $self->dbh_is_mysql()) { # mysql doesn't have statistics functions + if ($self->dbh_is_mysql()) { # mysql doesn't have statistics functions $query = " SELECT jobname AS jobname, 0.1 AS corr_jobbytes, AVG(jobbytes) AS jobbytes, diff --git a/gui/bweb/tpl/client_job_status.tpl b/gui/bweb/tpl/client_job_status.tpl index be9576ab9a..0351cd39ae 100644 --- a/gui/bweb/tpl/client_job_status.tpl +++ b/gui/bweb/tpl/client_job_status.tpl @@ -24,12 +24,12 @@ - __Bytes done__
+ __Bytes done__
- __Files done__
+ __Files done__
@@ -46,10 +46,10 @@ -- 2.39.5