1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Merge branch '3.1.x'

This commit is contained in:
Joas Schilling
2015-05-16 13:40:07 +02:00
9 changed files with 167 additions and 10 deletions

View File

@@ -117,7 +117,8 @@ class token_storage implements TokenStorageInterface
{
$service = $this->get_service_name_for_db($service);
if ($this->cachedToken) {
if ($this->cachedToken)
{
return true;
}
@@ -232,7 +233,8 @@ class token_storage implements TokenStorageInterface
{
$service = $this->get_service_name_for_db($service);
if ($this->cachedToken instanceof TokenInterface) {
if ($this->cachedToken instanceof TokenInterface)
{
return $this->cachedToken;
}