CC-4895: Remove all json die() statements from code
This commit is contained in:
parent
3bc2876f27
commit
d4e89df94e
8 changed files with 34 additions and 34 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue