From 89128a70d57252c4405d112627d5da52e8b4fe6f Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Fri, 17 Feb 2012 11:35:20 -0800 Subject: [PATCH] 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 --- .../auth/oauth/provider/base/PhabricatorOAuthProvider.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/applications/auth/oauth/provider/base/PhabricatorOAuthProvider.php b/src/applications/auth/oauth/provider/base/PhabricatorOAuthProvider.php index 1c6f8b3913..8e806f4576 100644 --- a/src/applications/auth/oauth/provider/base/PhabricatorOAuthProvider.php +++ b/src/applications/auth/oauth/provider/base/PhabricatorOAuthProvider.php @@ -21,7 +21,6 @@ abstract class PhabricatorOAuthProvider { const PROVIDER_FACEBOOK = 'facebook'; const PROVIDER_GITHUB = 'github'; const PROVIDER_GOOGLE = 'google'; - const PROVIDER_PHABRICATOR = 'phabricator'; private $accessToken; @@ -109,9 +108,6 @@ abstract class PhabricatorOAuthProvider { case self::PROVIDER_GOOGLE: $class = 'PhabricatorOAuthProviderGoogle'; break; - case self::PROVIDER_PHABRICATOR: - $class = 'PhabricatorOAuthProviderPhabricator'; - break; default: throw new Exception('Unknown OAuth provider.'); } @@ -124,7 +120,6 @@ abstract class PhabricatorOAuthProvider { self::PROVIDER_FACEBOOK, self::PROVIDER_GITHUB, self::PROVIDER_GOOGLE, - self::PROVIDER_PHABRICATOR, ); $providers = array(); foreach ($all as $provider) {