CRM-16373 - Migrate config_backend to civicrm_setting
authorTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 03:59:01 +0000 (20:59 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 22:49:33 +0000 (15:49 -0700)
commitf806379ba12d846edb8057257e478bc49f7f8287
treefd3937609d464dd20c6a74d254b3f3c9452a2198
parent606999eca82beb92e48cfcdc490d1c2841501381
CRM-16373 - Migrate config_backend to civicrm_setting

There are two steps at which we convert config_backend:

 * In loading the upgrade environment, we may need access to old settings.
   So SettingsBag supports reading config_backend for the active domain.
 * As a specific upgrade step (for 4.7.alpha1), we migrate all values
   for all domains (unless there's already a setting).
CRM/Core/Config/MagicMerge.php
CRM/Upgrade/Form.php
CRM/Upgrade/Incremental/php/FourSeven.php
Civi/Core/SettingsBag.php
sql/test_data_second_domain.mysql
tests/phpunit/CRM/Core/BAO/SettingTest.php
xml/schema/Core/Setting.xml