Merge pull request #4820 from kurund/CRM-15705
[civicrm-core.git] / CRM / Event / Controller / Registration.php
index 31b62bfe4b25b883c17710d2d3bc09e7de1039ea..85995ffe63c0297a63d21e81fb604c857cf882b6 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
 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();
   }
 
 }
-