neilcrookes/http_socket_oauth — pull request #4 by claudiodekker (2012-05-18 12:12:05+00:00)
Title: Updated http_socket_oauth.php on line 123-127 to support autoselect for _buildUri (1.2/1.3)

CakePHP 1.2 needed a change in the component, namely changing line 123 to remove the underscore in $this->_buildUri.

This was fixed by making cake automatically select the right component based on the version

if (strpos(Configure::version(), "1.2.") == 0) {
$requestUrl = $this->buildUri($request['uri'], $uriFormat);
} else {
$requestUrl = $this->_buildUri($request['uri'], $uriFormat);
}