Merge pull request #5680 from elinw/restauthenticationjoomla
[civicrm-core.git] / bin / deprecated / civimail.cronjob.php
index fcf21d21524f57866c11d4077a377a9fa5609f16..e923ee3851052c39cd1c1fa2e8343c124c0db6b2 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * A PHP cron script to run the outstanding and scheduled CiviMail jobs
  * initiated by Owen Barton from a mailing sent by Lobo to crm-mail
  *
- * The structure of the file is set to mimiic soap.php which is a stand-alone
+ * The structure of the file is set to mimic soap.php which is a stand-alone
  * script and hence does not have any UF issues. You should be able to run
  * this script using a web url or from the command line
  */
@@ -53,7 +53,7 @@ function run() {
 
 // you can run this program either from an apache command, or from the cli
 if (php_sapi_name() == "cli") {
-  require_once ("bin/cli.php");
+  require_once "bin/cli.php";
   $cli = new civicrm_cli();
 
   require_once 'CRM/Mailing/BAO/Mailing.php';
@@ -64,4 +64,3 @@ if (php_sapi_name() == "cli") {
 else {
   run();
 }
-