SAAS-57: Add LiveChat to Airtime Pro
Adding client_id getter/setter to preference
This commit is contained in:
parent
c49cd436fa
commit
83f02c3408
1 changed files with 12 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue