removed useless code
This commit is contained in:
parent
1d758db42b
commit
f660e1da9f
2 changed files with 5 additions and 6 deletions
|
@ -356,9 +356,9 @@ SQL;
|
|||
." SET media_item_played=TRUE";
|
||||
// we need to update 'broadcasted' column as well
|
||||
// check the current switch status
|
||||
$live_dj = Application_Model_Preference::GetSourceSwitchStatus('live_dj') == 'on'?true:false;
|
||||
$master_dj = Application_Model_Preference::GetSourceSwitchStatus('master_dj') == 'on'?true:false;
|
||||
$scheduled_play = Application_Model_Preference::GetSourceSwitchStatus('scheduled_play') == 'on'?true:false;
|
||||
$live_dj = Application_Model_Preference::GetSourceSwitchStatus('live_dj') == 'on';
|
||||
$master_dj = Application_Model_Preference::GetSourceSwitchStatus('master_dj') == 'on';
|
||||
$scheduled_play = Application_Model_Preference::GetSourceSwitchStatus('scheduled_play') == 'on';
|
||||
|
||||
if (!$live_dj && !$master_dj && $scheduled_play) {
|
||||
$sql .= ", broadcasted=1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue