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:
parent
5ba9edff51
commit
89128a70d5
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue