(dev/core#1387) Remove some lingering references to config_backend
authorTim Otten <totten@civicrm.org>
Wed, 13 Nov 2019 05:54:54 +0000 (21:54 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 30 Jan 2020 02:20:48 +0000 (18:20 -0800)
CRM/Core/Config.php
api/v3/examples/Domain/Create.ex.php

index fdffa814a6a1a60361b759a11d80eb7e5f4f5194..4025c5d5ac86c42bccc91cea9b03cefa6675c147 100644 (file)
@@ -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);
   }
 
   /**
index 85b9fb6dbe2880863e49cadd75c28ba57710aa4a..70280cf0b43877b39d0042d2336f7331bc8dc551 100644 (file)
@@ -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' => '',