diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-13 05:42:00 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-13 05:42:00 +0000 |
commit | 4b7ee5455f1190c681b5912b84398a1156040d74 (patch) | |
tree | 5cad02b09f2cb8a27b2d0fd18ddff24edc38279d /lib/util.php | |
parent | 47e595b092a0d8cd1d26a0170571c013fd992904 (diff) |
We have a FacebookQueueHandler now. The update_facebook.php cron
script is totally deprecated.
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 031fd0da0..3eeb9fde3 100644 --- a/lib/util.php +++ b/lib/util.php @@ -837,7 +837,7 @@ function common_broadcast_notice($notice, $remote=false) function common_enqueue_notice($notice) { - foreach (array('jabber', 'omb', 'sms', 'public', 'twitter') as $transport) { + foreach (array('jabber', 'omb', 'sms', 'public', 'twitter', 'facebook') as $transport) { $qi = new Queue_item(); $qi->notice_id = $notice->id; $qi->transport = $transport; @@ -891,6 +891,8 @@ function common_real_broadcast($notice, $remote=false) } } + // XXX: Do a real-time FB broadcast here? + // XXX: broadcast notices to other IM return $success; } |