CRM-16373 - SettingsManager - useMandatory() to apply post-boot changes
authorTim Otten <totten@civicrm.org>
Tue, 15 Sep 2015 00:58:45 +0000 (17:58 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 22:49:31 +0000 (15:49 -0700)
commit8eb5d071d545707311522cde2a87aff576749c43
treef0ca3e9504deb99b36dbc7b7db5faeb20da79219
parent1a6ba7d4839691c5597430d2f45a4370460c4699
CRM-16373 - SettingsManager - useMandatory() to apply post-boot changes

Note: The global `$civicrm_setting` is meant to provide sysadmins with a way
to override settings in `civicrm.settings.php`, but it has traditionally
been possible for extensions to manipulate `$civicrm_setting` in a hook.  If
you do this, please call `useMandatory()` to tell SettingsManager to re-scan
`$civicrm_setting`.
Civi/Core/SettingsManager.php
tests/phpunit/CRM/Core/BAO/SettingTest.php
tests/phpunit/Civi/Core/SettingsManagerTest.php