Skip to content

Commit

Permalink
Update Yahoo.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hayageek authored Oct 30, 2018
1 parent 84fd096 commit c26058a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Provider/Yahoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function getBaseAccessTokenUrl(array $params)

public function getResourceOwnerDetailsUrl(AccessToken $token)
{

$guid = $token->getResourceOwnerId();

return 'https://social.yahooapis.com/v1/user/' . $guid . '/profile?format=json';
Expand Down Expand Up @@ -84,7 +83,6 @@ protected function getScopeSeparator()

protected function checkResponse(ResponseInterface $response, $data)
{

if (!empty($data['error'])) {
$code = 0;
$error = $data['error'];
Expand All @@ -107,7 +105,6 @@ protected function createResourceOwner(array $response, AccessToken $token)
$imageUrl = $this->getUserImageUrl($response, $token);

return $user->setImageURL($imageUrl);

}

/**
Expand Down

0 comments on commit c26058a

Please sign in to comment.