more cleanup batch 16
[civicrm-core.git] / bin / deprecated / action.cronjob.php
index b5cee0345225eb2bd750b11fbde3025fb083c3d2..bd24f1812fd38ed7626e3ae624168538dbeb4108 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.                                    |
  |                                                                    |
 
 /*
  */
+
+/**
+ * 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") {
-      require_once ("cli.php");
+      require_once "cli.php";
       $cli = new civicrm_cli();
       //if it doesn't die, it's authenticated
     }
@@ -57,6 +63,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);
@@ -65,4 +74,3 @@ class CRM_Cron_Action {
 
 $cron = new CRM_Cron_Action();
 $cron->run();
-