Github is actually GitHub
Test Plan: none Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1557
This commit is contained in:
@@ -579,7 +579,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorOAuthLoginController' => 'applications/auth/controller/oauth',
|
||||
'PhabricatorOAuthProvider' => 'applications/auth/oauth/provider/base',
|
||||
'PhabricatorOAuthProviderFacebook' => 'applications/auth/oauth/provider/facebook',
|
||||
'PhabricatorOAuthProviderGithub' => 'applications/auth/oauth/provider/github',
|
||||
'PhabricatorOAuthProviderGitHub' => 'applications/auth/oauth/provider/github',
|
||||
'PhabricatorOAuthProviderGoogle' => 'applications/auth/oauth/provider/google',
|
||||
'PhabricatorOAuthRegistrationController' => 'applications/auth/controller/oauthregistration/base',
|
||||
'PhabricatorOAuthUnlinkController' => 'applications/auth/controller/unlink',
|
||||
@@ -1285,7 +1285,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorOAuthFailureView' => 'AphrontView',
|
||||
'PhabricatorOAuthLoginController' => 'PhabricatorAuthController',
|
||||
'PhabricatorOAuthProviderFacebook' => 'PhabricatorOAuthProvider',
|
||||
'PhabricatorOAuthProviderGithub' => 'PhabricatorOAuthProvider',
|
||||
'PhabricatorOAuthProviderGitHub' => 'PhabricatorOAuthProvider',
|
||||
'PhabricatorOAuthProviderGoogle' => 'PhabricatorOAuthProvider',
|
||||
'PhabricatorOAuthRegistrationController' => 'PhabricatorAuthController',
|
||||
'PhabricatorOAuthUnlinkController' => 'PhabricatorAuthController',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -93,7 +93,7 @@ abstract class PhabricatorOAuthProvider {
|
||||
$class = 'PhabricatorOAuthProviderFacebook';
|
||||
break;
|
||||
case self::PROVIDER_GITHUB:
|
||||
$class = 'PhabricatorOAuthProviderGithub';
|
||||
$class = 'PhabricatorOAuthProviderGitHub';
|
||||
break;
|
||||
case self::PROVIDER_GOOGLE:
|
||||
$class = 'PhabricatorOAuthProviderGoogle';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthProviderGithub extends PhabricatorOAuthProvider {
|
||||
class PhabricatorOAuthProviderGitHub extends PhabricatorOAuthProvider {
|
||||
|
||||
private $userData;
|
||||
|
||||
@@ -25,7 +25,7 @@ class PhabricatorOAuthProviderGithub extends PhabricatorOAuthProvider {
|
||||
}
|
||||
|
||||
public function getProviderName() {
|
||||
return 'Github';
|
||||
return 'GitHub';
|
||||
}
|
||||
|
||||
public function isProviderEnabled() {
|
||||
@@ -12,4 +12,4 @@ phutil_require_module('phabricator', 'infrastructure/env');
|
||||
phutil_require_module('phutil', 'utils');
|
||||
|
||||
|
||||
phutil_require_source('PhabricatorOAuthProviderGithub.php');
|
||||
phutil_require_source('PhabricatorOAuthProviderGitHub.php');
|
||||
|
||||
Reference in New Issue
Block a user