CC-2795: Give option to set download flag of recorded shows

uploaded to Soundcloud by default

- done
This commit is contained in:
James 2011-09-29 17:10:17 -04:00
parent 8ef8dbc668
commit 7e3d25eeaa
8 changed files with 73 additions and 8 deletions

View file

@ -175,7 +175,7 @@ class ScheduleController extends Zend_Controller_Action
if ($showEndDateHelper->getTimestamp() <= $epochNow
&& $show->isRecorded()
&& Application_Model_Preference::GetDoSoundCloudUpload()) {
&& Application_Model_Preference::GetUploadToSoundcloudOption()) {
if(is_null($show->getSoundCloudFileId())){
$menu[] = array('action' => array('type' => 'fn',
'callback' => "window['uploadToSoundCloud']($id)"),