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

This commit is contained in:
denise 2013-01-31 14:06:45 -05:00
parent 3bc2876f27
commit d4e89df94e
8 changed files with 34 additions and 34 deletions

View file

@ -218,7 +218,7 @@ class ScheduleController extends Zend_Controller_Action
$id = $file->getId();
Application_Model_Soundcloud::uploadSoundcloud($id);
// we should die with ui info
die();
$this->_helper->json->sendJson(null);
}
public function makeContextMenuAction()
@ -897,7 +897,7 @@ class ScheduleController extends Zend_Controller_Action
'title' => _('Download'));
//returns format jjmenu is looking for.
die(json_encode($menu));
$this->_helper->json->sendJson(json_encode($menu));
}
/**