CRM_Core_BAO_Setting - Don't prefill settings
[civicrm-core.git] / CRM / Core / Invoke.php
index 4832004ed2cb1976461f58c8f37182386957f83b..24c0ecf77e7da2275941c674309b09c6af95ae3f 100644 (file)
@@ -383,7 +383,7 @@ class CRM_Core_Invoke {
     // rebuild word replacement cache - pass false to prevent operations redundant with this fn
     CRM_Core_BAO_WordReplacement::rebuild(FALSE);
 
-    CRM_Core_BAO_Setting::updateSettingsFromMetaData();
+    Civi::service('settings_manager')->flush();
     // Clear js caches
     CRM_Core_Resources::singleton()->flushStrings()->resetCacheCode();
     CRM_Case_XMLRepository::singleton(TRUE);