CC-1942: Add ability to set timezone in preferences

-Can change the timezone for PHP. Need to change for python as well.
This commit is contained in:
martin 2011-08-12 14:14:07 -04:00
parent 13285fdd63
commit 84ec62eeca
9 changed files with 144 additions and 21 deletions

View file

@ -260,6 +260,14 @@ class Application_Model_Preference
public static function GetStationDescription(){
return Application_Model_Preference::GetValue("description");
}
public static function SetTimezone($timezone){
Application_Model_Preference::SetValue("timezone", $timezone);
}
public static function GetTimezone(){
return Application_Model_Preference::GetValue("timezone");
}
public static function SetStationLogo($imagePath){
if(!empty($imagePath)){