Merge pull request #5109 from colemanw/buttons
[civicrm-core.git] / CRM / Queue / Task.php
index 5342b59bb35a7f4eeec0e90381d26b0bb6134381..8525c055c7c67e20e9b4810e9dd95ef46a0c9f63 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * A task is an item that can be enqueued and later exectued
 class CRM_Queue_Task {
 
   /**
-   * Task was performed successfully
+   * Task was performed successfully.
    */
   const TASK_SUCCESS = 1;
 
   /**
-   * Task failed and should not be retried
+   * Task failed and should not be retried.
    */
   const TASK_FAIL = 2;
 
@@ -71,7 +71,7 @@ class CRM_Queue_Task {
   }
 
   /**
-   * Perform the task
+   * Perform the task.
    *
    * @param array $taskCtx
    *   Array with keys:
@@ -92,4 +92,5 @@ class CRM_Queue_Task {
       throw new Exception('Failed to call callback: ' . print_r($this->callback));
     }
   }
+
 }