Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
At the moment it's impossible to unset things from config in another domain - fix allows you to temporarily change the domain - as in
foreach ($existing['values'] as $domainID => $domainSettings){
CRM_Core_BAO_Domain::setDomain($domainID);
$missing = array_diff_key($allSettings['values'], $domainSettings);
foreach ($missing as $name => $settings)
CRM_Core_BAO_Domain::resetDomain();
}