CC-2753: Ability to disable stream 1 but still show it in the interface
- interface change - all elements becomes 'disabled' depending on 'disable_stream_conf' flag
This commit is contained in:
parent
0c72b8b6bf
commit
fa929d45a6
5 changed files with 56 additions and 0 deletions
|
@ -426,5 +426,13 @@ class Application_Model_Preference
|
|||
public static function GetTrialEndingDate(){
|
||||
return Application_Model_Preference::GetValue("trial_end_date");
|
||||
}
|
||||
|
||||
public static function SetDisableStreamConf($bool){
|
||||
Application_Model_Preference::SetValue("disable_stream_conf", $bool);
|
||||
}
|
||||
|
||||
public static function GetDisableStreamConf(){
|
||||
return Application_Model_Preference::GetValue("disable_stream_conf");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue