1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00

Remove references to nonexistent PhabricatorOAuthProviderPhabricator

Summary:
This gets added in D1595 (which hasn't landed yet), but was referred to in
D1632 (already committed). This unbreaks master for me.

Test Plan: I no longer get an error trying to load
PhabricatorOAuthProviderPhabricator

Reviewers: btrahan, epriestley

Reviewed By: epriestley

CC: jungejason, aran, epriestley

Differential Revision: https://secure.phabricator.com/D1633
This commit is contained in:
Nick Harper 2012-02-17 11:35:20 -08:00
parent 5ba9edff51
commit 89128a70d5

View file

@ -21,7 +21,6 @@ abstract class PhabricatorOAuthProvider {
const PROVIDER_FACEBOOK = 'facebook'; const PROVIDER_FACEBOOK = 'facebook';
const PROVIDER_GITHUB = 'github'; const PROVIDER_GITHUB = 'github';
const PROVIDER_GOOGLE = 'google'; const PROVIDER_GOOGLE = 'google';
const PROVIDER_PHABRICATOR = 'phabricator';
private $accessToken; private $accessToken;
@ -109,9 +108,6 @@ abstract class PhabricatorOAuthProvider {
case self::PROVIDER_GOOGLE: case self::PROVIDER_GOOGLE:
$class = 'PhabricatorOAuthProviderGoogle'; $class = 'PhabricatorOAuthProviderGoogle';
break; break;
case self::PROVIDER_PHABRICATOR:
$class = 'PhabricatorOAuthProviderPhabricator';
break;
default: default:
throw new Exception('Unknown OAuth provider.'); throw new Exception('Unknown OAuth provider.');
} }
@ -124,7 +120,6 @@ abstract class PhabricatorOAuthProvider {
self::PROVIDER_FACEBOOK, self::PROVIDER_FACEBOOK,
self::PROVIDER_GITHUB, self::PROVIDER_GITHUB,
self::PROVIDER_GOOGLE, self::PROVIDER_GOOGLE,
self::PROVIDER_PHABRICATOR,
); );
$providers = array(); $providers = array();
foreach ($all as $provider) { foreach ($all as $provider) {