From 14131344e8a0dd3c6983b89ed214cc84f3cc668b Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Thu, 31 Mar 2011 18:39:31 +0200 Subject: [PATCH] bacula-web: php code cleanup in includes/bweb.inc.php - Remove useless php code - Fixed some typo in GetDbSize() function - Removed useless require_once instruction - Removed copyright --- gui/bacula-web/includes/bweb.inc.php | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/gui/bacula-web/includes/bweb.inc.php b/gui/bacula-web/includes/bweb.inc.php index 272ee6a437..cca09039c2 100644 --- a/gui/bacula-web/includes/bweb.inc.php +++ b/gui/bacula-web/includes/bweb.inc.php @@ -1,20 +1,4 @@ tpl->assign( 'catalog_current', $_POST['catalog_id'] ); $this->tpl->assign( 'catalogs', $this->bwcfg->Get_Catalogs() ); - }else - { - } } @@ -182,7 +163,7 @@ class Bweb extends DB { if(! PEAR::isError( $result ) ) { $db = $result->fetchRow( DB_FETCHMODE_ASSOC ); - $database_size =+ $db['dbsize']; + $database_size = $db['dbsize']; }else die( "Unable to get database size
" . $result->getMessage() ); -- 2.39.5