From 4b7ee5455f1190c681b5912b84398a1156040d74 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 13 Feb 2009 05:42:00 +0000 Subject: We have a FacebookQueueHandler now. The update_facebook.php cron script is totally deprecated. --- lib/util.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/util.php') 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; } -- cgit v1.2.3-54-g00ecf