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:
Naomi 2014-04-23 15:41:15 -04:00
parent abe3b79fed
commit 578f758274
5 changed files with 32 additions and 51 deletions

View file

@ -346,3 +346,12 @@ INSERT INTO cc_locale (locale_code, locale_lang) VALUES ('sr_RS@latin', 'Srpski
INSERT INTO cc_locale (locale_code, locale_lang) VALUES ('zh_CN', '简体中文');
-- end of added in 2.3
-- added in 2.5.2
INSERT INTO cc_pref (keystr, valstr) VALUES ('timezone', 'UTC');
INSERT INTO cc_pref (subjid, keystr, valstr) VALUES (1, 'user_timezone', 'UTC');
INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '0');
--end added in 2.5.2