From b0ddc339d9c704b1a948f36ed6d0c1ccb968a38a Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Sat, 9 Jul 2011 16:07:03 +0200 Subject: [PATCH] bacula-web: Improved code for stored files informations --- gui/bacula-web/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index dbc66738cb..d081d66e6f 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -22,7 +22,7 @@ $dbSql = new Bweb(); $days_stored_bytes = array(); // Stored files number -$dbSql->tpl->assign('stored_files', $dbSql->GetStoredFiles( ALL ) ); +$dbSql->tpl->assign('stored_files', $dbSql->getStoredFiles( FIRST_DAY, NOW ) ); // Database size $dbSql->tpl->assign('database_size', $dbSql->GetDbSize()); @@ -33,7 +33,7 @@ $dbSql->tpl->assign('stored_bytes', $stored_bytes); // Total bytes and files for last 24 hours $dbSql->tpl->assign('bytes_last', CUtils::Get_Human_Size( $dbSql->getStoredBytes( LAST_DAY, NOW ) ) ); -$dbSql->tpl->assign('files_last', $dbSql->GetStoredFiles( LAST_DAY ) ); +$dbSql->tpl->assign('files_last', $dbSql->getStoredFiles( LAST_DAY, NOW ) ); // Number of clients $nb_clients = $dbSql->Get_Nb_Clients(); -- 2.39.5