CRM_Core_BAO_Setting - Remove redundant static cache
authorTim Otten <totten@civicrm.org>
Tue, 15 Sep 2015 04:16:13 +0000 (21:16 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 22:49:31 +0000 (15:49 -0700)
commite1d398248992b6486d48d15ff5cb2082923d5b78
treed9cb35d19a82f684ac5003e3598735d267520302
parent8eb5d071d545707311522cde2a87aff576749c43
CRM_Core_BAO_Setting - Remove redundant static cache

Before CRM-16373, the setting cache was stored in a static property of the
BAO.  This data is now loaded into objects -- which are stored in the
container.

This is essentially the same for a typical request, and (for unit-testing)
it provides simpler cleanup between tests.
CRM/Activity/Page/AJAX.php
CRM/Core/BAO/Setting.php
Civi/Core/SettingsManager.php
Civi/Core/SettingsMetadata.php
tests/phpunit/CRM/Core/BAO/SettingTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/SettingTest.php