diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-24 17:20:01 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-24 17:20:19 -0400 |
commit | d398ae41c031f70946e82f71599f1821766f3eea (patch) | |
tree | a1efd3112dc78369c25cc2b93c2e25393de3e315 /phpBB/phpbb/auth | |
parent | 27ba57747ab46c0507acc3a87e5b73babda436b1 (diff) | |
download | forums-d398ae41c031f70946e82f71599f1821766f3eea.tar forums-d398ae41c031f70946e82f71599f1821766f3eea.tar.gz forums-d398ae41c031f70946e82f71599f1821766f3eea.tar.bz2 forums-d398ae41c031f70946e82f71599f1821766f3eea.tar.xz forums-d398ae41c031f70946e82f71599f1821766f3eea.zip |
[feature/oauth] Finish cleaning up TODOs
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/token_storage.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php index ff1887fce7..b31ffcd1ab 100644 --- a/phpBB/phpbb/auth/provider/oauth/token_storage.php +++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php @@ -245,8 +245,7 @@ class phpbb_auth_provider_oauth_token_storage implements TokenStorageInterface if (!$row) { - // TODO: translate - throw new TokenNotFoundException('Token not stored'); + throw new TokenNotFoundException('AUTH_PROVIDER_OAUTH_TOKEN_ERROR_NOT_STORED'); } $token = $this->json_decode_token($row['oauth_token']); @@ -255,8 +254,7 @@ class phpbb_auth_provider_oauth_token_storage implements TokenStorageInterface if (!($token instanceof TokenInterface)) { $this->clearToken(); - // TODO: translate - throw new TokenNotFoundException('Token not stored correctly'); + throw new TokenNotFoundException('AUTH_PROVIDER_OAUTH_TOKEN_ERROR_INCORRECTLY_STORED'); } $this->cachedToken = $token; |