diff options
author | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
commit | 8aa9c271dffe6ec6766b94486c0635c9db588db7 (patch) | |
tree | f6cb465062767bdf5642121e61d143bdd2e4dcfe /plugins/Facebook/facebooklogin.php | |
parent | 829a017a5d0104f495cd0b645ecb1f3cdeda25ac (diff) | |
parent | 5c4723919fa757b3e14a59350415cfe53e0900d1 (diff) |
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Diffstat (limited to 'plugins/Facebook/facebooklogin.php')
-rw-r--r-- | plugins/Facebook/facebooklogin.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Facebook/facebooklogin.php b/plugins/Facebook/facebooklogin.php index 7a173ddae..1961be57b 100644 --- a/plugins/Facebook/facebooklogin.php +++ b/plugins/Facebook/facebooklogin.php @@ -25,7 +25,6 @@ require_once INSTALLDIR . '/plugins/Facebook/facebookaction.php'; class FacebookinviteAction extends FacebookAction { - function handle($args) { parent::handle($args); @@ -37,6 +36,7 @@ class FacebookinviteAction extends FacebookAction $this->facebook->api_client->data_getUserPreference( FACEBOOK_PROMPTED_UPDATE_PREF) == 'true') { + // @todo FIXME: Missing i18n? echo '<h1>REDIRECT TO HOME</h1>'; } } else { @@ -46,7 +46,6 @@ class FacebookinviteAction extends FacebookAction function showContent() { - // If the user has opted not to initially allow the app to have // Facebook status update permission, store that preference. Only // promt the user the first time she uses the app @@ -56,7 +55,6 @@ class FacebookinviteAction extends FacebookAction } if ($this->flink) { - $this->user = $this->flink->getUser(); // If this is the first time the user has started the app @@ -69,7 +67,6 @@ class FacebookinviteAction extends FacebookAction return; } } - } else { $this->showLoginForm(); } @@ -88,6 +85,8 @@ class FacebookinviteAction extends FacebookAction function title() { + // @todo FIXME: Give a more precise description? Suggestion: "Login with Facebook Connect" + // TRANS: Page title. return sprintf(_m('Login')); } @@ -95,5 +94,4 @@ class FacebookinviteAction extends FacebookAction { } - } |