From 8c770e56fa0f3a1e07d067d153e0c4422a46ba69 Mon Sep 17 00:00:00 2001 From: cristiangrama Date: Wed, 6 Dec 2017 16:39:04 -0600 Subject: [PATCH] Add idea to gitignore and remove unnecessary curl timeout setter --- .gitignore | 3 ++- includes/ActiveCampaign.class.php | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 40367ec..40d1631 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor/ +.idea/ composer.lock -composer.phar \ No newline at end of file +composer.phar diff --git a/includes/ActiveCampaign.class.php b/includes/ActiveCampaign.class.php index b9f3e79..176c17a 100644 --- a/includes/ActiveCampaign.class.php +++ b/includes/ActiveCampaign.class.php @@ -93,8 +93,6 @@ function api($path, $post_data = array()) { $class = new $class($this->version, $this->url_base, $this->url, $this->api_key); // IE: $contact->view() - $class->set_curl_timeout($this->get_curl_timeout()); - if ($add_tracking) { $class->track_email = $this->track_email; $class->track_actid = $this->track_actid;