Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2014-11-14-11-21-50
[civicrm-core.git] / bin / deprecated / action.cronjob.php
index b5cee0345225eb2bd750b11fbde3025fb083c3d2..7d432b9c66a77cb814500aef76a72f67e3b053fe 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                               |
+ | CiviCRM version 4.5                                               |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 
 /*
  */
+
+/**
+ * Class CRM_Cron_Action
+ */
 class CRM_Cron_Action {
+  /**
+   *
+   */
   function __construct() {
     // you can run this program either from an apache command, or from the cli
     if (php_sapi_name() == "cli") {
@@ -57,6 +64,9 @@ class CRM_Cron_Action {
     $config = CRM_Core_Config::singleton();
   }
 
+  /**
+   * @param null $now
+   */
   public function run($now = NULL) {
     require_once 'CRM/Core/BAO/ActionSchedule.php';
     CRM_Core_BAO_ActionSchedule::processQueue($now);