Merge pull request #9739 from nditech/CRM-19915
[civicrm-core.git] / CRM / Contribute / Controller / Search.php
index 4d0c3ca58e25b53632c4465dcd82c54449a047ba..500d8ffd68244c26d2ec611baa633dd15e19e8e2 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -26,9 +26,8 @@
  */
 
 /**
- *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  */
 
 /**
@@ -54,14 +53,8 @@ class CRM_Contribute_Controller_Search extends CRM_Core_Controller {
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
     parent::__construct($title, $modal);
-
     $this->_stateMachine = new CRM_Contribute_StateMachine_Search($this, $action);
-
-    // create and instantiate the pages
     $this->addPages($this->_stateMachine, $action);
-
-    // add all the actions
-    $config = CRM_Core_Config::singleton();
     $this->addActions();
   }