CC-5810 : Installation can have race conditions with the cache
Preferences.php is used to set values since it will save the value to cache there as well. defaultdata.sql is used where possible.
This commit is contained in:
parent
abe3b79fed
commit
578f758274
5 changed files with 32 additions and 51 deletions
|
@ -641,6 +641,11 @@ class Application_Model_Preference
|
|||
{
|
||||
return self::getValue("logoImage");
|
||||
}
|
||||
|
||||
public static function SetUniqueId($id)
|
||||
{
|
||||
self::setValue("uniqueId", $id);
|
||||
}
|
||||
|
||||
public static function GetUniqueId()
|
||||
{
|
||||
|
@ -896,6 +901,11 @@ class Application_Model_Preference
|
|||
|
||||
return self::getValue("enable_stream_conf");
|
||||
}
|
||||
|
||||
public static function SetAirtimeVersion($version)
|
||||
{
|
||||
self::setValue("system_version", $version);
|
||||
}
|
||||
|
||||
public static function GetAirtimeVersion()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue