Skip to content
Snippets Groups Projects
Commit 323696fa authored by lobo's avatar lobo
Browse files

CRM-12648

----------------------------------------
* CRM-12648: CiviCRM mailing (or other scheduled jobs) do not seem to fire when triggered via wget
  http://issues.civicrm.org/jira/browse/CRM-12648
parent c1e1e8b8
No related branches found
No related tags found
No related merge requests found
......@@ -2559,7 +2559,7 @@ SELECT $mailing.id as mailing_id
* @return $report array content/component.
* @access public
*/
public static function getMailingContent(&$report, &$form, $isSMS = FALSE) {
static function getMailingContent(&$report, &$form, $isSMS = FALSE) {
$htmlHeader = $textHeader = NULL;
$htmlFooter = $textFooter = NULL;
......
......@@ -208,8 +208,7 @@ class civicrm_cli {
$class = 'CRM_Utils_System_' . $this->_config->userFramework;
$cms = new $class();
if (!CRM_Utils_System::loadBootstrap(array(
), FALSE, FALSE, $civicrm_root)) {
if (!CRM_Utils_System::loadBootstrap(array(), FALSE, FALSE, $civicrm_root)) {
$this->_log(ts("Failed to bootstrap CMS"));
return FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment