phpBMS

Show
Ignore:
Timestamp:
12/21/09 16:58:44 (2 years ago)
Author:
nate
Message:
  • Removed unneeded setting from the MailChimp? module.
  • Added additional instructions to the MailChimp? adminsettings.php.
  • Update MailChimp? version information.
  • Fixed error reporting in scheduler_list_sync.php.
  • Fixed sql statement in cron.php and a variable reference in scheduler.php that would break without the installation of the api module.
  • Removed the redundant push_record_ajax.php.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/mailchimp/scheduler_list_sync.php

    r684 r686  
    11<?php 
    22//uncomment if need debug 
    3 //if(!class_exists("appError")) 
    4 //      include_once("../../include/session.php"); 
     3if(!class_exists("appError")) 
     4        include_once("../../include/session.php"); 
     5         
    56include("include/MCAPI.class.php");//for MCAPI CLASS (listSync class uses it) 
    67include("include/list_sync.php");//for listSync class 
     
    1213                         MAILCHIMP_LIST_ID, 
    1314                         MAILCHIMP_LAST_SYNC_DATE, 
    14                          MAILCHIMP_BATCH_LIMIT, 
     15                         NULL, 
    1516                         MAILCHIMP_SECURE 
    1617                         ); 
     
    2021if(isset($response["type"])){ 
    2122     
    22     if($response["type"] == "error") 
     23    if($response["type"] != "success") 
    2324       foreach($response["details"] AS $errorArray){ 
    2425             
    25             $message = "MailChimp sync failure: ".$errorArray["message"]." (".$errorArray["code"].")"; 
     26            $message = "MailChimp sync ".$response["type"].": ".$errorArray["message"]." (".$errorArray["code"].")"; 
    2627            $log = new phpbmsLog($message, "SCHEDULER", NULL, $db); 
    2728             
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.