]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Rename php class TimeUtils to CTimeUtils
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 24 Jun 2011 14:44:59 +0000 (16:44 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:14 +0000 (14:49 +0200)
gui/bacula-web/backupjob-report.php
gui/bacula-web/config.inc.php
gui/bacula-web/includes/utils/ctimeutils.class.php
gui/bacula-web/jobs.php

index 843ac7b94c8642dab93a9174ebfde0fe658611cc..e3fde54e33b6c4373a738356a15582e18a9505e0 100644 (file)
                $job['Level']       = $joblevel[ $job['Level'] ];
 
                // Job execution execution time
-               $job['ElapsedTime'] = TimeUtils::Get_Elapsed_Time( $job['StartTime'], $job['EndTime'] );
+               $job['ElapsedTime'] = CTimeUtils::Get_Elapsed_Time( $job['StartTime'], $job['EndTime'] );
 
                // odd and even row
                if( count($jobs) % 2)
index eb409cc400c3f452bc3b6e49fc0865b27c177a3c..2c28ff15e9f7cf20a80e9dd0933e7f53a743072d 100644 (file)
@@ -33,7 +33,7 @@
  require_once BW_OBJ . "graph/bgraph.class.php";
  require_once BW_OBJ . "bweb.inc.php";
  require_once BW_OBJ . "utils/cutils.class.php";
- require_once BW_OBJ . "utils/timeutils.class.php";
+ require_once BW_OBJ . "utils/ctimeutils.class.php";
  
  // Global constants
  define('CONFIG_DIR', BW_ROOT . "/config/");
index cd3b13a4df9992d804101ed9ec0af01ffc157bec..9843c169e22117c197c95daa059dd77c7e06081c 100644 (file)
@@ -15,7 +15,7 @@
 +-------------------------------------------------------------------------+ 
 */
 
-class TimeUtils {
+class CTimeUtils {
        static public function Get_Elapsed_Time( $start_time, $end_time)
        {
                $start = '';
index 665d8be8c334eb9b86dcfbedb1443a75dfe4ee94..4fb46aa9af9477217b632975285664f5e184cd8b 100644 (file)
                $end   = $job['EndTime'];
                
                // Job execution execution time
-               $job['elapsed_time'] = TimeUtils::Get_Elapsed_Time( $start, $end);
+               $job['elapsed_time'] = CTimeUtils::Get_Elapsed_Time( $start, $end);
                // Job Level
         $job['Level'] = $job_level[ $job['Level'] ];
                // Job Size