Dead code

This commit is contained in:
Alex Bilbie 2014-11-07 01:30:50 +00:00
parent a1c3746a5a
commit 7586e62da1

View File

@ -107,9 +107,9 @@ class ClientCredentialsGrant extends AbstractGrant
} }
// Save everything // Save everything
$session->save($this->server->getStorage('session')); $session->save();
$accessToken->setSession($session); $accessToken->setSession($session);
$accessToken->save($this->server->getStorage('access_token')); $accessToken->save();
$this->server->getTokenType()->setSession($session); $this->server->getTokenType()->setSession($session);
$this->server->getTokenType()->setParam('access_token', $accessToken->getId()); $this->server->getTokenType()->setParam('access_token', $accessToken->getId());