Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-02-02-18-36-16
[civicrm-core.git] / CRM / PCP / Controller / PCP.php
index 64359b2bfdec1c3ce2537f6592d745a2d1ffbd11..7bd50976a2308881bab669a1f07f5e6fda3820e5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -49,11 +49,10 @@ class CRM_PCP_Controller_PCP extends CRM_Core_Controller {
   /**
    * Class constructor
    */
-  function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
+  public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
     parent::__construct($title, $modal);
 
-
     $this->_stateMachine = new CRM_PCP_StateMachine_PCP($this, $action);
 
     // create and instantiate the pages
@@ -69,5 +68,5 @@ class CRM_PCP_Controller_PCP extends CRM_Core_Controller {
       $this->addActions();
     }
   }
-}
 
+}