diff options
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/token_storage.php')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/token_storage.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php index 861b00f5cf..c0f585d7bb 100644 --- a/phpBB/phpbb/auth/provider/oauth/token_storage.php +++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php @@ -20,7 +20,7 @@ use OAuth\Common\Storage\Exception\TokenNotFoundException; use OAuth\Common\Storage\Exception\AuthorizationStateNotFoundException; /** - * OAuth storage wrapper for phpBB3's cache + * OAuth storage wrapper for phpBB's cache */ class token_storage implements TokenStorageInterface { @@ -148,7 +148,7 @@ class token_storage implements TokenStorageInterface $data['session_id'] = $this->user->data['session_id']; } - return $this->_has_access_token($data); + return $this->has_access_token($data); } /** @@ -354,7 +354,7 @@ class token_storage implements TokenStorageInterface 'provider' => $service, ]; - return $this->_has_access_token($data); + return $this->has_access_token($data); } /** @@ -388,7 +388,7 @@ class token_storage implements TokenStorageInterface * @return bool true if the user's access token exists, * false if the user's access token does not exist */ - protected function _has_access_token($data) + protected function has_access_token($data) { return (bool) $this->get_access_token_row($data); } |