aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/oauth/token_storage.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/auth/oauth/token_storage.php')
-rw-r--r--phpBB/includes/auth/oauth/token_storage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth/oauth/token_storage.php b/phpBB/includes/auth/oauth/token_storage.php
index 90185e5f5a..c3d560cc79 100644
--- a/phpBB/includes/auth/oauth/token_storage.php
+++ b/phpBB/includes/auth/oauth/token_storage.php
@@ -87,7 +87,7 @@ class phpbb_auth_oauth_token_storage implements TokenStorageInterface
}
$sql = 'SELECT oauth_token FROM ' . $this->auth_provider_oauth_table .
- $db->sql_build_array('SELECT', array(
+ $this->db->sql_build_array('SELECT', array(
'user_id' => $this->user->data['user_id'],
'oauth_provider' => $this->service_name,
));
@@ -139,7 +139,7 @@ class phpbb_auth_oauth_token_storage implements TokenStorageInterface
}
$sql = 'SELECT oauth_token FROM ' . $this->auth_provider_oauth_table .
- $db->sql_build_array('SELECT', array(
+ $this->db->sql_build_array('SELECT', array(
'user_id' => $this->user->data['user_id'],
'oauth_provider' => $this->service_name,
));