/** * Delete a graph with its data. * @param string $graph : name of the graph * @return boolean : true if it did * @access public */ public function delete($graph) { $client = new Curl_HTTP_Client(); $sUri = $this->_endpoint . $graph; $response = $client->send_delete($sUri); $code = $client->get_http_response_code(); if ($code == 200) { return true; } else { $this->errorLog("DELETE:<" . $graph . ">", $sUri, $code, $response); return false; } }