(dev/core#1387) ConfigSetting - Deprecation+guard for retrieve()/add()
authorTim Otten <totten@civicrm.org>
Wed, 13 Nov 2019 06:14:57 +0000 (22:14 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 30 Jan 2020 02:20:48 +0000 (18:20 -0800)
commit889bb14112391535ba43e19ab4bd4663463cc118
treedc2b706abcf2656f8e1a535fb23ea78b74ab382d
parent502b674770d277f33efc2eb3d15bba04351bb835
(dev/core#1387) ConfigSetting - Deprecation+guard for retrieve()/add()

These functions were traditionally used for accessing `config_backend`,
which was (mostly) dropped in v4.7 and became inert. However, the
functions are still referenced in a couple oddball cases.

Note that the references to `$domain->config_backend` are liable to raise
warnings if evaluated - since the field no longer exists on the DAO class.
Consequently, the extra `$hasBackend` guard should reduce warnings.
CRM/Core/BAO/ConfigSetting.php