diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-18 15:33:14 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-18 15:33:31 -0400 |
commit | 2eb47d00e078cf7b0dd3a12e2557a33ca89d297a (patch) | |
tree | 4a27351e5e0f768e8f7312c9a7145827ec6f637a /phpBB/phpbb/auth/provider | |
parent | 36f7913cc06aa299fa93ce83e4084993d31f1368 (diff) | |
download | forums-2eb47d00e078cf7b0dd3a12e2557a33ca89d297a.tar forums-2eb47d00e078cf7b0dd3a12e2557a33ca89d297a.tar.gz forums-2eb47d00e078cf7b0dd3a12e2557a33ca89d297a.tar.bz2 forums-2eb47d00e078cf7b0dd3a12e2557a33ca89d297a.tar.xz forums-2eb47d00e078cf7b0dd3a12e2557a33ca89d297a.zip |
[feature/oauth] Remove unused method
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index 921ce830d9..2ad204c472 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -236,55 +236,4 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base return $this->service[$service_name]; } - - /** - * Returns the path desired of the service - * - * @param string $service_name - * @return string|UriInterface|null A null return means do not - * request additional information. - */ - protected function get_path($service_name) - { - switch ($service_name) - { - case 'bitly': - case 'tumblr': - $path = 'user/info'; - break; - case 'box': - $path = '/users/me'; - break; - case 'facebook': - $path = '/me'; - break; - case 'FitBit': - $path = 'user/-/profile.json'; - break; - case 'foursquare': - case 'instagram': - $path = 'users/self'; - break; - case 'GitHub': - $path = 'user/emails'; - break; - case 'google': - $path = 'https://www.googleapis.com/oauth2/v1/userinfo'; - break; - case 'linkedin': - $path = '/people/~?format=json'; - break; - case 'soundCloud': - $path = 'me.json'; - break; - case 'twitter': - $path = 'account/verify_credentials.json'; - break; - default: - $path = null; - break; - } - - return $path; - } } |