diff --git a/src/Provider/Yahoo.php b/src/Provider/Yahoo.php index be2082b..dced5e2 100644 --- a/src/Provider/Yahoo.php +++ b/src/Provider/Yahoo.php @@ -102,26 +102,6 @@ protected function createResourceOwner(array $response, AccessToken $token) { $user = new YahooUser($response); - $imageUrl = $this->getUserImageUrl($response, $token); - - return $user->setImageURL($imageUrl); - } - - /** - * Get user image url from provider, if available - * - * @param array $response - * @param AccessToken $token - * - * @return string - */ - protected function getUserImageUrl(array $response, AccessToken $token) - { - $image = $this->getUserImage($response, $token); - - if (isset($image['image']['imageUrl'])) { - return $image['image']['imageUrl']; - } - return null; + return $user; } }