Remove unused parameters & variabeles, fix calls with wrong number of args
This commit is contained in:
@ -10,7 +10,7 @@ class MailChimp {
|
||||
public $export_url;
|
||||
const API_KEY_REGEX = '/[a-zA-Z0-9]{32}-[a-zA-Z0-9]{2,4}$/';
|
||||
|
||||
function __construct($api_key, $lists = false) {
|
||||
function __construct($api_key) {
|
||||
$this->api_key = $this->getAPIKey($api_key);
|
||||
$this->max_post_size = Helpers::getMaxPostSize('bytes');
|
||||
$this->data_center = $this->getDataCenter($this->api_key);
|
||||
|
Reference in New Issue
Block a user