SAAS-57: Add LiveChat to Airtime Pro

Adding client_id getter/setter to preference
This commit is contained in:
Yuchen Wang 2011-12-08 17:23:46 -05:00
parent c49cd436fa
commit 83f02c3408

View file

@ -604,8 +604,18 @@ class Application_Model_Preference
}
return $update_time;
}
/* User specific preferences start */
public static function GetClientId() {
return self::GetValue("client_id");
}
public static function SetClientId($id) {
if (is_numeric($id)) {
self::SetValue("client_id", $id);
}
}
/* User specific preferences start */
/**
* Sets the time scale preference (agendaDay/agendaWeek/month) in Calendar.