diff --git a/lib/Unicorn.php b/lib/Unicorn.php index 8648aeb..5fbc0ea 100644 --- a/lib/Unicorn.php +++ b/lib/Unicorn.php @@ -14,8 +14,8 @@ class Unicorn { return Unicorn::request(HttpMethod::POST, $url, $body, $headers); } - public static function delete($url, $headers = array(), $body = NULL) { - return Unicorn::request(HttpMethod::DELETE, $url, $body, $headers); + public static function delete($url, $headers = array()) { + return Unicorn::request(HttpMethod::DELETE, $url, NULL, $headers); } public static function put($url, $headers = array(), $body = NULL) { @@ -85,4 +85,4 @@ class Unicorn { } -?> \ No newline at end of file +?>