Merge pull request #6757 from yashodha/CRM-17227
[civicrm-core.git] / CRM / Core / Component / Info.php
index 68fec01b968985ec34acce6d644a10b776e15c2f..f2b600c7204ffe13dd50b04a920aa1ec7d513480 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -30,7 +30,7 @@
  * for a component to introduce itself to the system.
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -42,12 +42,6 @@ abstract class CRM_Core_Component_Info {
    */
   const COMPONENT_INVOKE_CLASS = 'Invoke';
 
-  /**
-   * Name of the class (minus component namespace path)
-   * of the component configuration class'es name.
-   */
-  const COMPONENT_CONFIG_CLASS = 'Config';
-
   /**
    * Name of the class (minus component namespace path)
    * of the component BAO Query class'es name.
@@ -240,16 +234,6 @@ abstract class CRM_Core_Component_Info {
     return FALSE;
   }
 
-  /**
-   * Provides component's configuration object.
-   *
-   * @return mixed
-   *   component's configuration object
-   */
-  public function getConfigObject() {
-    return $this->_instantiate(self::COMPONENT_CONFIG_CLASS);
-  }
-
   /**
    * Provides component's menu definition object.
    *