diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/facebookhome.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php index 4e67494f0..bbef447cd 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -82,21 +82,24 @@ class FacebookhomeAction extends FacebookAction function showHome($flink, $msg) { + + $facebook = get_facebook(); + $fbuid = $facebook->require_login(); + + $user = $flink->getUser(); + + $notice = $user->getCurrentNotice(); + update_profile_box($facebook, $fbuid, $user, $notice); + + $this->show_header('Home'); if ($msg) { common_element('fb:success', array('message' => $msg)); } - $facebook = get_facebook(); - $fbuid = $facebook->require_login(); - - $user = $flink->getUser(); - echo $this->show_notices($user); - $this->update_profile_box($facebook, $fbuid, $user); - $this->show_footer(); } |