From 502b674770d277f33efc2eb3d15bba04351bb835 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 12 Nov 2019 21:54:54 -0800 Subject: [PATCH] (dev/core#1387) Remove some lingering references to config_backend --- CRM/Core/Config.php | 7 +++++-- api/v3/examples/Domain/Create.ex.php | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index fdffa814a6..4025c5d5ac 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -196,10 +196,13 @@ class CRM_Core_Config extends CRM_Core_Config_MagicMerge { /** * Reset the serialized array and recompute. * use with care + * + * @deprecated */ public function reset() { - $query = "UPDATE civicrm_domain SET config_backend = null"; - CRM_Core_DAO::executeQuery($query); + // This is what it used to do. However, it hasn't meant anything since 4.6. + // $query = "UPDATE civicrm_domain SET config_backend = null"; + // CRM_Core_DAO::executeQuery($query); } /** diff --git a/api/v3/examples/Domain/Create.ex.php b/api/v3/examples/Domain/Create.ex.php index 85b9fb6dbe..70280cf0b4 100644 --- a/api/v3/examples/Domain/Create.ex.php +++ b/api/v3/examples/Domain/Create.ex.php @@ -50,7 +50,6 @@ function domain_create_expectedresult() { 'id' => '3', 'name' => 'A-team domain', 'description' => 'domain of chaos', - 'config_backend' => '', 'contact_id' => '7', 'locales' => '', 'locale_custom_strings' => '', -- 2.25.1