diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-07-10 21:03:44 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-07-10 21:03:44 +0000 |
commit | 4a1d7ad0829aeeece7a392ed64bce3d95c21f87e (patch) | |
tree | 467e2f2f6cc91facb83b026e11ab811b480801af /lib/facebookaction.php | |
parent | bafa1ab1c532118e2230df50ed18a1b4573692b7 (diff) | |
parent | 8250006fbfdc120a4766f85ff5d6ee79798d626d (diff) |
Merge branch 'candrews-review' into 0.8.x
Diffstat (limited to 'lib/facebookaction.php')
-rw-r--r-- | lib/facebookaction.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/facebookaction.php b/lib/facebookaction.php index 1ae90d53b..5be2f2fe6 100644 --- a/lib/facebookaction.php +++ b/lib/facebookaction.php @@ -460,16 +460,6 @@ class FacebookAction extends Action } } - function updateFacebookStatus($notice) - { - $prefix = $this->facebook->api_client->data_getUserPreference(FACEBOOK_NOTICE_PREFIX, $this->fbuid); - $content = "$prefix $notice->content"; - - if ($this->facebook->api_client->users_hasAppPermission('status_update', $this->fbuid)) { - $this->facebook->api_client->users_setStatus($content, $this->fbuid, false, true); - } - } - function saveNewNotice() { @@ -504,7 +494,7 @@ class FacebookAction extends Action $replyto = $this->trimmed('inreplyto'); $notice = Notice::saveNew($user->id, $content, - 'Facebook', 1, ($replyto == 'false') ? null : $replyto); + 'web', 1, ($replyto == 'false') ? null : $replyto); if (is_string($notice)) { $this->showPage($notice); @@ -514,8 +504,7 @@ class FacebookAction extends Action common_broadcast_notice($notice); // Also update the user's Facebook status - $this->updateFacebookStatus($notice); - $this->updateProfileBox($notice); + facebookBroadcastNotice($notice); } |