Fixed session start issue with new API

This commit is contained in:
Albert Santoni 2015-11-06 13:04:33 -05:00
parent e8a0ace018
commit 0e6e82a0c6
2 changed files with 4 additions and 1 deletions

View File

@ -1528,7 +1528,11 @@ class ApiController extends Zend_Controller_Action
$this->view->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
Zend_Session::start();
$scheduler = new Application_Model_Scheduler();
session_write_close();
$now = new DateTime("now", new DateTimeZone("UTC"));
$showInstances = CcShowInstancesQuery::create()

View File

@ -532,7 +532,6 @@ class Application_Model_Scheduler
* incorrect track lengths (RKTN-260)
*/
public function removeGaps2($showInstance, $exclude = null) {
Logging::info("removing gaps from show instance #" . $showInstance);
$instance = CcShowInstancesQuery::create()->findPK($showInstance, $this->con);
if (is_null($instance)) {