diff options
Diffstat (limited to 'actions/facebookhome.php')
-rw-r--r-- | actions/facebookhome.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php index 3696df90a..ae29ee1f8 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -30,7 +30,7 @@ class FacebookhomeAction extends FacebookAction $facebook = get_facebook(); $fbuid = $facebook->require_login(); - + // Check to see whether there's already a Facebook link for this user $flink = Foreign_link::getByForeignID($fbuid, FACEBOOK_SERVICE); @@ -44,7 +44,7 @@ class FacebookhomeAction extends FacebookAction if ($flink) { - if ($_POST['submit'] == 'Send') { + if ($_POST['submit'] == 'Send') { $this->saveNewNotice($flink); return; } @@ -141,10 +141,10 @@ class FacebookhomeAction extends FacebookAction $notice = $user->getCurrentNotice(); update_profile_box($facebook, $fbuid, $user, $notice); - $this->showHeader($msg); + $this->showHeader($msg); $this->showNoticeForm($user); $this->showNav('Home'); - + echo $this->showNotices($user); $this->showFooter(); @@ -224,13 +224,13 @@ class FacebookhomeAction extends FacebookAction common_end_xml(); } - + function saveNewNotice($flink) { - + $user = $flink->getUser(); - $content = $_POST['status_textarea']; + $content = $_POST['status_textarea']; if (!$content) { $this->showHome($flink, _('No content!')); @@ -268,5 +268,5 @@ class FacebookhomeAction extends FacebookAction common_broadcast_notice($notice); $this->showHome($flink, 'Success!'); } - + } |