summaryrefslogtreecommitdiff
path: root/actions/facebookhome.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/facebookhome.php')
-rw-r--r--actions/facebookhome.php17
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();
}