classes/Tasks/BatchManager.php
public function incrementTotalTime($batch, $lastTime) {
        update_option("ilab_media_tools_{$batch}_last_time", $lastTime);
        update_option("ilab_media_tools_{$batch}_total_time", $this->totalTime($batch) + $lastTime);
    }
public function incrementTotalTime($batch, $lastTime) {
        update_option("ilab_media_tools_{$batch}_last_time", $lastTime);
        update_option("ilab_media_tools_{$batch}_total_time", $this->totalTime($batch) + $lastTime);
    }
public function incrementTotalTime ( $ batch , $ lastTime ) { update_option ( "ilab_media_tools_{$batch}_last_time" , $ lastTime ) ; update_option ( "ilab_media_tools_{$batch}_total_time" , $ this -> totalTime ( $ batch ) + $ lastTime ) ; }
Increments the total processing time for the batch
@param $batch
@param float $lastTime
Increments the total processing time for the batch