CC-2756: Ability to set plan level
- created setter and getter in Preference.php for plan level - renamed airtime-stream to airtime-system - airtime-system is removed from this repository(moved to airtime-saas)
This commit is contained in:
parent
abee16ba4a
commit
c6557e1280
3 changed files with 24 additions and 2 deletions
|
@ -410,5 +410,13 @@ class Application_Model_Preference
|
|||
public static function GetMaxBitrate(){
|
||||
return Application_Model_Preference::GetValue("max_bitrate");
|
||||
}
|
||||
|
||||
public static function SetPlanLevel($plan){
|
||||
Application_Model_Preference::SetValue("plan_level", $plan);
|
||||
}
|
||||
|
||||
public static function GetPlanLevel(){
|
||||
return Application_Model_Preference::GetValue("plan_level");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue