diff --git a/airtime_mvc/application/models/ShowInstance.php b/airtime_mvc/application/models/ShowInstance.php index 810c33348..5592e1b90 100644 --- a/airtime_mvc/application/models/ShowInstance.php +++ b/airtime_mvc/application/models/ShowInstance.php @@ -730,21 +730,6 @@ SQL; return ($query !== false) ? $query : null; } - public function getShowEndGapTime() - { - $showEnd = $this->getShowInstanceEnd(); - $lastItemEnd = $this->getLastAudioItemEnd(); - - if (is_null($lastItemEnd)) { - $lastItemEnd = $this->getShowInstanceStart(); - } - - - $diff = strtotime($showEnd) - strtotime($lastItemEnd); - - return ($diff < 0) ? 0 : $diff; - } - public static function GetLastShowInstance($p_timeNow) { $sql = <<