From 7a51b8d2adac0cdca4c3cd2d5416db1b1f204ae0 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 13 Dec 2013 15:06:52 -0500 Subject: [PATCH] CC-5627 : Check all Application_Common_DateHelper calculations that use timezone. --- airtime_mvc/application/models/ShowInstance.php | 15 --------------- 1 file changed, 15 deletions(-) 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 = <<