Remove unused parameters & variabeles, fix calls with wrong number of args

This commit is contained in:
Jan Jakeš
2018-11-15 08:09:48 +01:00
committed by Pavel Dohnal
parent aac7744dee
commit 60a5fe2732
5 changed files with 5 additions and 5 deletions

View File

@ -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);