CRM-20816 - CiviCase - Settings framework takes precedence over "Settings.xml"
authorTim Otten <totten@civicrm.org>
Tue, 4 Jul 2017 22:17:54 +0000 (15:17 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 4 Jul 2017 22:29:27 +0000 (15:29 -0700)
commitd6742e0f4166cb91bde28957512e4c0d801e132c
treeec116cda2badf732aad54495a79505fe20c0a146
parent1706c6a02e75c4fe140e500893e5d36e6bff5464
CRM-20816 - CiviCase - Settings framework takes precedence over "Settings.xml"

CiviCase was originally developed before the creation of the "Settings"
framework (aka `$civicrm_settings`, `Settings API`, `civicrm_settings`,
`*.setting.php`).  At the time, it stored some settings in a special file
named "Settings.xml".

Today, this file is an anomaly which supports fewer dataflows.

With this revision:
 * For backward compatibility, the default setting is `auto`, which reads
   the setting from XML.
 * For maximum compliance with the Settings framework, the
   value from `Civi::settings()->get()` takes precedence (if defined).
CRM/Case/XMLProcessor/Process.php