CC-2755: trial ending date
- add functions in Preference.php
This commit is contained in:
parent
a636257516
commit
78ffa74bab
|
@ -418,5 +418,13 @@ class Application_Model_Preference
|
||||||
public static function GetPlanLevel(){
|
public static function GetPlanLevel(){
|
||||||
return Application_Model_Preference::GetValue("plan_level");
|
return Application_Model_Preference::GetValue("plan_level");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function SetTrialEndingDate($date){
|
||||||
|
Application_Model_Preference::SetValue("trial_end_date", $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function GetTrialEndingDate(){
|
||||||
|
return Application_Model_Preference::GetValue("trial_end_date");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue