cc-2364: past non-recorded shows have "upload to soundcloud" context menu option
-fixed
This commit is contained in:
parent
ff031cde76
commit
c921348f36
|
@ -203,6 +203,7 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
if (strtotime($show->getShowEnd()) <= strtotime($today_timestamp)
|
||||
&& is_null($show->getSoundCloudFileId())
|
||||
&& $show->isRecorded()
|
||||
&& Application_Model_Preference::GetDoSoundCloudUpload()) {
|
||||
$menu[] = array('action' => array('type' => 'fn',
|
||||
'callback' => "window['uploadToSoundCloud']($id)"),
|
||||
|
|
Loading…
Reference in New Issue