From 20a82abb23e1a51f42153e259c2c3c3cff7ad7c3 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Mon, 27 Feb 2012 22:26:17 +0100 Subject: [PATCH] CC-3174 : showbuilder forgot to return value, was getting NOW as the returned time instead. --- airtime_mvc/application/models/Scheduler.php | 2 +- airtime_mvc/application/models/airtime/CcSchedule.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/models/Scheduler.php b/airtime_mvc/application/models/Scheduler.php index f066bceed..2c58cf2ee 100644 --- a/airtime_mvc/application/models/Scheduler.php +++ b/airtime_mvc/application/models/Scheduler.php @@ -98,7 +98,7 @@ class Application_Model_Scheduler { //DateTime::createFromFormat("U.u") will have a problem if there is no decimal in the resulting number. $endEpoch = bcadd($startEpoch , (string) $durationSeconds, 6); - Logging::log("end DateTime created {$p_startDT->format("Y-m-d H:i:s.u")}"); + Logging::log("start DateTime created {$p_startDT->format("Y-m-d H:i:s.u")}"); Logging::log("start epoch is {$startEpoch}"); Logging::log("duration in seconds is {$durationSeconds}"); Logging::log("end epoch is {$endEpoch}"); diff --git a/airtime_mvc/application/models/airtime/CcSchedule.php b/airtime_mvc/application/models/airtime/CcSchedule.php index 1e8b77133..ff222d7a3 100644 --- a/airtime_mvc/application/models/airtime/CcSchedule.php +++ b/airtime_mvc/application/models/airtime/CcSchedule.php @@ -90,7 +90,7 @@ class CcSchedule extends BaseCcSchedule { */ public function getDbFadeIn($format = "s.u") { - parent::getDbFadein($format); + return parent::getDbFadein($format); } /** @@ -101,7 +101,7 @@ class CcSchedule extends BaseCcSchedule { */ public function getDbFadeOut($format = "s.u") { - parent::getDbFadeout($format); + return parent::getDbFadeout($format); } /**