summaryrefslogtreecommitdiff
path: root/actions/facebooklogin.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-10 21:03:44 +0000
committerZach Copley <zach@controlyourself.ca>2009-07-10 21:03:44 +0000
commit4a1d7ad0829aeeece7a392ed64bce3d95c21f87e (patch)
tree467e2f2f6cc91facb83b026e11ab811b480801af /actions/facebooklogin.php
parentbafa1ab1c532118e2230df50ed18a1b4573692b7 (diff)
parent8250006fbfdc120a4766f85ff5d6ee79798d626d (diff)
Merge branch 'candrews-review' into 0.8.x
Diffstat (limited to 'actions/facebooklogin.php')
-rw-r--r--actions/facebooklogin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/facebooklogin.php b/actions/facebooklogin.php
index 22007da4f..aa86cfbc0 100644
--- a/actions/facebooklogin.php
+++ b/actions/facebooklogin.php
@@ -31,7 +31,7 @@ class FacebookinviteAction extends FacebookAction
$this->error = $error;
if ($this->flink) {
- if (!$this->facebook->api_client->users_hasAppPermission('status_update') &&
+ if (!$this->facebook->api_client->users_hasAppPermission('publish_stream') &&
$this->facebook->api_client->data_getUserPreference(
FACEBOOK_PROMPTED_UPDATE_PREF) == 'true') {
@@ -60,7 +60,7 @@ class FacebookinviteAction extends FacebookAction
// If this is the first time the user has started the app
// prompt for Facebook status update permission
- if (!$this->facebook->api_client->users_hasAppPermission('status_update')) {
+ if (!$this->facebook->api_client->users_hasAppPermission('publish_stream')) {
if ($this->facebook->api_client->data_getUserPreference(
FACEBOOK_PROMPTED_UPDATE_PREF) != 'true') {