return $volumes;
} // end function GetVolumeList()
- public function CountLastJobs( $delay = LAST_DAY, $status )
+ public function CountJobs( $delay = LAST_DAY, $status )
{
$query = "SELECT COUNT(JobId) AS job_nb FROM Job ";
//$smarty->assign( 'completed_jobs', $completed_jobs['completed_jobs'] );
// Last 24 hours completed jobs number (last_run_report.tpl)
-$completed_jobs = $dbSql->CountLastJobs( LAST_DAY, 'completed' );
+$completed_jobs = $dbSql->CountJobs( LAST_DAY, 'completed' );
$smarty->assign( 'completed_jobs', $completed_jobs['job_nb'] );
// Last 24 hours failed jobs number (last_run_report.tpl)
-$failed_jobs = $dbSql->CountLastJobs( LAST_DAY, 'failed' );
+$failed_jobs = $dbSql->CountJobs( LAST_DAY, 'failed' );
$smarty->assign( 'failed_jobs', $failed_jobs['job_nb'] );
// Last 24 hours elapsed time (last_run_report.tpl)