Code clean up.
* Removed LLCurlRequest and replaced it's last usage with LLHTTPClient API calls. * Deleted dead code. * Renamed all the get4/post4/put4/getByteRange4 etc, back to their original name without the '4'.
This commit is contained in:
@@ -310,7 +310,7 @@ bool inviteUserResponse(const LLSD& notification, const LLSD& response)
|
||||
LLSD data;
|
||||
data["method"] = "accept invitation";
|
||||
data["session-id"] = session_id;
|
||||
LLHTTPClient::post4(
|
||||
LLHTTPClient::post(
|
||||
url,
|
||||
data,
|
||||
new LLViewerChatterBoxInvitationAcceptResponder(
|
||||
@@ -348,7 +348,7 @@ bool inviteUserResponse(const LLSD& notification, const LLSD& response)
|
||||
LLSD data;
|
||||
data["method"] = "decline invitation";
|
||||
data["session-id"] = session_id;
|
||||
LLHTTPClient::post4(
|
||||
LLHTTPClient::post(
|
||||
url,
|
||||
data,
|
||||
NULL);
|
||||
@@ -1627,7 +1627,7 @@ public:
|
||||
LLSD data;
|
||||
data["method"] = "accept invitation";
|
||||
data["session-id"] = session_id;
|
||||
LLHTTPClient::post4(
|
||||
LLHTTPClient::post(
|
||||
url,
|
||||
data,
|
||||
new LLViewerChatterBoxInvitationAcceptResponder(
|
||||
|
||||
Reference in New Issue
Block a user