]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Renamed GetPoolsStatistics() function to CountVolumesByPool() in includes...
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 9 May 2011 15:06:23 +0000 (17:06 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:11 +0000 (14:49 +0200)
gui/bacula-web/includes/bweb.inc.php
gui/bacula-web/index.php

index cca09039c21dac56b3b75438e1de3cfa0859c754..d34dd7c6ade90bc07ae3f6f2a5fc7106adbf2f14 100644 (file)
@@ -505,7 +505,7 @@ class Bweb extends DB {
                }
        } // end function GetJobsStatistics()
        
-       public function GetPoolsStatistics( $pools )
+       public function CountVolumesByPool( $pools )
        {
                foreach( $pools as $pool_name => $pool ) {
                        //var_dump( $pool );
index f4d1ad456055230f693bbf5ad0f361859c8c08e3..6e190bf4094b4e44211a7ab449ee210ea8d32897 100644 (file)
@@ -102,7 +102,7 @@ $graph = new BGraph( "graph1.png" );
 $pools = $dbSql->Get_Pools_List();
 
 foreach( $pools as $pool ) {
-       array_push( $data, $dbSql->GetPoolsStatistics( $pool ) );
+       array_push( $data, $dbSql->CountVolumesByPool( $pool ) );
 }
 
 $graph->SetData( $data, 'pie', 'text-data-single' );