Merge pull request #4887 from pratikshad/broken-webtest
[civicrm-core.git] / CRM / Core / BAO / ActionLog.php
index 486df88a6d40ff9836ba91bced6222db836dc614..a3740e591cdf5188fa8cf27ad2487135fc768f60 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright (C) 2011 Marty Wright                                    |
  | Licensed to CiviCRM under the Academic Free License version 3.0.   |
@@ -42,10 +42,11 @@ class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
   /**
    * Create or update an action log entry
    *
-   * @return actionLog array
-   * @access public
+   * @param array $params
+   *
+   * @return array
    */
-  static function create($params) {
+  public static function create($params) {
     $actionLog = new CRM_Core_DAO_ActionLog();
 
     $params['action_date_time'] = CRM_Utils_Array::value('action_date_time', $params, date('YmdHis'));
@@ -72,4 +73,3 @@ class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
     return $actionLog;
   }
 }
-