CC-4895: Remove all json die() statements from code

- removed json_encode
This commit is contained in:
denise 2013-02-07 15:41:47 -05:00
parent 7bc4151741
commit 525b2dcb33
15 changed files with 43 additions and 51 deletions

View file

@ -925,7 +925,7 @@ class ScheduleController extends Zend_Controller_Action
'title' => _('Download'));
//returns format jjmenu is looking for.
$this->_helper->json->sendJson(json_encode($menu));
$this->_helper->json->sendJson($menu);
}
/**
@ -983,6 +983,6 @@ class ScheduleController extends Zend_Controller_Action
{
$schedId = $this->_getParam('schedId');
$redrawLibTable = Application_Model_StoredFile::setIsScheduled($schedId, false);
$this->_helper->json->sendJson(json_encode(array("redrawLibTable" => $redrawLibTable)));
$this->_helper->json->sendJson(array("redrawLibTable" => $redrawLibTable));
}
}