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:
James 2011-09-02 10:37:15 -04:00
parent abee16ba4a
commit c6557e1280
3 changed files with 24 additions and 2 deletions

View file

@ -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");
}
}