aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/facebook.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-08-24 17:14:30 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-08-24 17:17:31 -0400
commit27ba57747ab46c0507acc3a87e5b73babda436b1 (patch)
treebe1a33e1dc581c851838e50de482f076e739a70d /phpBB/phpbb/auth/provider/oauth/service/facebook.php
parentde17d5bdcc1cab495b0b3f2d345fa3ac21f3676c (diff)
downloadforums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar
forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.gz
forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.bz2
forums-27ba57747ab46c0507acc3a87e5b73babda436b1.tar.xz
forums-27ba57747ab46c0507acc3a87e5b73babda436b1.zip
[feature/oauth] Clean up TODOs
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/facebook.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/facebook.php b/phpBB/phpbb/auth/provider/oauth/service/facebook.php
index dc742cca0d..836e4ee052 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/facebook.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/facebook.php
@@ -67,7 +67,7 @@ class phpbb_auth_provider_oauth_service_facebook extends phpbb_auth_provider_oau
if (!($this->service_provider instanceof \OAuth\OAuth2\Service\Facebook))
{
// TODO: make exception class and use language constant
- throw new Exception('Invalid service provider type');
+ throw new Exception('AUTH_PROVIDER_OAUTH_ERROR_INVALID_SERVICE_TYPE');
}
// This was a callback request, get the token