CC-3963: If DJ is scheduled to broadcast for show, then automatically

enable source when DJ connects.

- done
This commit is contained in:
James 2012-06-12 15:38:03 -04:00
parent 22453f3820
commit 57397312f2
6 changed files with 62 additions and 3 deletions

View file

@ -877,6 +877,14 @@ class Application_Model_Preference
return self::GetValue("auto_transition");
}
public static function SetAutoSwitch($value){
self::SetValue("auto_switch", $value, false);
}
public static function GetAutoSwitch(){
return self::GetValue("auto_switch");
}
public static function SetEnableSystemEmail($upload) {
self::SetValue("enable_system_email", $upload);
}