-commented some functions
-removed usage of "current_timestamp" in postgresql queries in favour of php time.
This commit is contained in:
parent
ac3853c0fb
commit
bf146e7f85
6 changed files with 117 additions and 41 deletions
|
@ -112,8 +112,8 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
$result = Schedule::GetPlayOrderRange(0, 1);
|
||||
|
||||
$date = new Application_Model_DateHelper;
|
||||
$timeNow = $date->getDate();
|
||||
$date = new DateHelper;
|
||||
$timeNow = $date->getTimestamp();
|
||||
$result = array("env"=>APPLICATION_ENV,
|
||||
"schedulerTime"=>gmdate("Y-m-d H:i:s"),
|
||||
"currentShow"=>Show_DAL::GetCurrentShow($timeNow),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue