From: Tim Otten Date: Sat, 22 Aug 2015 10:10:04 +0000 (-0700) Subject: CRM-16373 - Config - Remove `componentRegistry` X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=61c920e73934fbd394ad509f483ab767afdef830;p=civicrm-core.git CRM-16373 - Config - Remove `componentRegistry` --- diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 0d6e5f80c7..4fe4f2d0bc 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -140,11 +140,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { */ private static $_singleton = NULL; - /** - * @var CRM_Core_Component - */ - public $componentRegistry = NULL; - /// /// END HELPER CLASS PROPERTIES /// @@ -386,11 +381,6 @@ class CRM_Core_Config extends CRM_Core_Config_Variables { // also initialize the logger self::$_log = Log::singleton('display'); - - // initialize component registry early to avoid "race" - // between CRM_Core_Config and CRM_Core_Component (they - // are co-dependant) - $this->componentRegistry = new CRM_Core_Component(); } /** diff --git a/CRM/Core/Config/Variables.php b/CRM/Core/Config/Variables.php index baf6c6f4db..7f69eb5001 100644 --- a/CRM/Core/Config/Variables.php +++ b/CRM/Core/Config/Variables.php @@ -385,11 +385,6 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults { */ public $inCiviCRM = FALSE; - /** - * Component registry object (of CRM_Core_Component type) - */ - public $componentRegistry = NULL; - /** * PDF receipt as attachment is disabled by default (CRM-8350) */