From: Davide Franco Date: Sun, 17 Jul 2011 20:41:17 +0000 (+0200) Subject: bacula-web: Removed unused code in index.php X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08aa1086240b5088994645d95ec13efb2553ebf4;p=bacula%2Fbacula bacula-web: Removed unused code in index.php --- diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index 02249c71f7..35541a0f64 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -113,17 +113,6 @@ }catch(PDOException $e) { CDBError::raiseError($e); } - - /* - $result = $dbSql->db_link->query( $query ); - - if ( PEAR::isError( $result ) ) - $this->TriggerDBError( 'Unable to get last used volumes from catalog' . $result ); - else { - while ( $vol = $result->fetchRow() ) - array_push( $vol_list, $vol ); - } - */ $dbSql->tpl->assign( 'volume_list', $vol_list );