Merge pull request #4875 from civicrm/minor-fix
[civicrm-core.git] / CRM / Event / Import / Controller.php
index 7f61d67f5bac6ab817eb4ab94184b14768fe59e7..8a74f5b0893db99d6ff680ecfb533f7d36ff38a2 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_Import_Controller 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);
 
     // lets get around the time limit issue if possible, CRM-2113
@@ -55,4 +55,3 @@ class CRM_Event_Import_Controller extends CRM_Core_Controller {
     $this->addActions($config->uploadDir, array('uploadFile'));
   }
 }
-