Skip to content

Commit

Permalink
Merge pull request #52 from Nyholm/master
Browse files Browse the repository at this point in the history
Prepare for 0.6
  • Loading branch information
Nyholm committed Jun 11, 2015
2 parents 69e7872 + eb5f62a commit e1ae980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Install it with Composer.
php composer.phar require happyr/linkedin-api-client:dev-master
```

If you are updating form a previous version make sure to read [the upgrade documentation](Upgrade.md).

## Usage

In order to use this API client (or any other LinkedIn clients) you have to [register your application][register-app]
Expand Down
18 changes: 0 additions & 18 deletions src/LinkedIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,24 +478,6 @@ protected function setState($state)
return $this;
}

/**
* Get the id of the current user.
*
* @return string|null returns null if no user found
*
* @deprecated will be removed in 0.6
*/
public function getUserId()
{
$user = $this->getUser();

if (isset($user['id'])) {
return $user['id'];
}

return;
}

/**
* Get the app id.
*
Expand Down

0 comments on commit e1ae980

Please sign in to comment.