Merge pull request #300 from vvllaadd/patch-2

Probable bug
This commit is contained in:
Alex Bilbie 2015-02-22 19:45:14 +00:00
commit 3d08140651

View File

@ -86,7 +86,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface
*/ */
public function delete(AccessTokenEntity $token) public function delete(AccessTokenEntity $token)
{ {
Capsule::table('oauth_access_token_scopes') Capsule::table('oauth_access_tokens')
->where('access_token', $token->getId()) ->where('access_token', $token->getId())
->delete(); ->delete();
} }