Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

API CHANGE Removed RestfulService->connect(), use RestfulService->req…

…uest()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91587 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 37685e6d3fe18264f55e1906b79f7501b44b66ac 1 parent f19ad85
@chillu chillu authored
Showing with 1 addition and 9 deletions.
  1. +1 −9 api/RestfulService.php
View
10 api/RestfulService.php
@@ -52,15 +52,7 @@ function httpHeader($header) {
protected function constructURL(){
return "$this->baseURL" . ($this->queryString ? "?$this->queryString" : "");
}
-
- /**
- * @deprecated Use RestfulService::request()
- */
- public function connect($subURL = '') {
- user_error("RestfulService::connect is deprecated; use RestfulService::request", E_USER_NOTICE);
- return $this->request($subURL)->getBody();
- }
-
+
/**
* Makes a request to the RESTful server, and return a {@link RestfulService_Response} object for parsing of the result.
* @todo Better POST, PUT, DELETE, and HEAD support
Please sign in to comment.
Something went wrong with that request. Please try again.