Merge pull request #4820 from kurund/CRM-15705
[civicrm-core.git] / CRM / Event / Controller / Registration.php
index eee6e2fd62455b050db1ea34613a281e727d2fdf..85995ffe63c0297a63d21e81fb604c857cf882b6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -35,9 +35,9 @@
 class CRM_Event_Controller_Registration extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * 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_Event_StateMachine_Registration($this, $action);
@@ -58,9 +58,8 @@ class CRM_Event_Controller_Registration extends CRM_Core_Controller {
     }
   }
 
-  function invalidKey() {
+  public function invalidKey() {
     $this->invalidKeyRedirect();
   }
 
 }
-