From 60aa0600a8618e1c81c336c113eb3bbf210815f7 Mon Sep 17 00:00:00 2001 From: Joe Z Date: Sun, 4 Dec 2016 11:41:07 -0500 Subject: [PATCH] mend --- src/Management/Client.php | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/Management/Client.php b/src/Management/Client.php index 7db824a..1787431 100644 --- a/src/Management/Client.php +++ b/src/Management/Client.php @@ -78,28 +78,6 @@ public function managementApiCall($method = 'GET', $entryPoint = '', $params = n } $serverResponse = $this->talkToServer($method, $url, $headers, $data); - - - - - // if (is_array($params) && sizeof($params) > 0) { - // $url .= '?'.http_build_query($params); - // } - - // $session = curl_init($url); - // curl_setopt($session, CURLOPT_CUSTOMREQUEST, $method); - // curl_setopt($session, CURLOPT_HEADER, false); - // curl_setopt($session, CURLOPT_RETURNTRANSFER, true); // Tell curl to return the response - // curl_setopt($session, CURLOPT_HTTPHEADER, $headers); // Adding request headers - - // if (in_array($method, array('POST', 'PUT'))) { - // curl_setopt($session, CURLOPT_POSTFIELDS, $data); - // } - - // $response = curl_exec($session); - // $statusCode = curl_getinfo($session, CURLINFO_HTTP_CODE); - // curl_close($session); - $statusCode = $serverResponse['statusCode']; $contentResponse = $serverResponse['contentResponse']; @@ -165,8 +143,4 @@ protected function talkToServer($method, $url, $headers, $data) } - private function sayHello(){ - - } - }