[feature/oauth] Finish fixes from tests and tests for token storage

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-24 16:06:19 -04:00
parent 5052b80456
commit 7c065bc9a2

View file

@ -187,7 +187,7 @@ class phpbb_auth_provider_oauth_token_storage implements TokenStorageInterface
$sql = 'DELETE FROM ' . $this->auth_provider_oauth_table . '
WHERE user_id = ' . $this->user->data['user_id'] . '
AND provider = \'' . $this->db->sql_escape($this->oauth_provider) . '\'';
AND provider = \'' . $this->db->sql_escape($this->service_name) . '\'';
if ($this->user->data['user_id'] == ANONYMOUS)
{