aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-05-16 13:40:07 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-05-16 13:40:07 +0200
commit3b91b243b0a89916619bb4dd6bd36aa6a62be5bf (patch)
treed065ff89cecd80f43c7c05b115d3874b8fb7b3b6 /phpBB/phpbb/auth/provider
parentcddecec14647c980a688dc81834df2eae48e88bb (diff)
parente52bc2d02283aab8fc0a588feec74ec8858c48f8 (diff)
downloadforums-3b91b243b0a89916619bb4dd6bd36aa6a62be5bf.tar
forums-3b91b243b0a89916619bb4dd6bd36aa6a62be5bf.tar.gz
forums-3b91b243b0a89916619bb4dd6bd36aa6a62be5bf.tar.bz2
forums-3b91b243b0a89916619bb4dd6bd36aa6a62be5bf.tar.xz
forums-3b91b243b0a89916619bb4dd6bd36aa6a62be5bf.zip
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/phpbb/auth/provider')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/token_storage.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php
index 023cf402ca..f488c2022d 100644
--- a/phpBB/phpbb/auth/provider/oauth/token_storage.php
+++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php
@@ -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;
}