summaryrefslogtreecommitdiff
path: root/actions/facebookhome.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-11 08:33:28 +0000
committerZach Copley <zach@controlyourself.ca>2009-01-11 08:33:28 +0000
commita373e6f500e172fed02ea6c892b69af69da4f688 (patch)
tree438f470c8c26f2eddcd6d60a8d5ce7edc4966458 /actions/facebookhome.php
parent689be142158dae5af1516cb38b947f0364d725dd (diff)
trac750 Automatically update Identi.ca profile box with user's latest dent
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();
}