From c2a170da108a6645846aa2e60238974b49363b21 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 12 Jun 2008 14:40:28 -0400 Subject: broadcast profile and change subscription input id darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz --- lib/util.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/util.php') diff --git a/lib/util.php b/lib/util.php index c64cd5979..d6c1a9f8b 100644 --- a/lib/util.php +++ b/lib/util.php @@ -569,6 +569,13 @@ function common_broadcast_notice($notice, $remote=false) { return true; } +function common_broadcast_profile($profile) { + // XXX: optionally use a queue system like http://code.google.com/p/microapps/wiki/NQDQ + require_once(INSTALLDIR.'/lib/omb.php'); + omb_broadcast_profile($profile); + // XXX: Other broadcasts...? + return true; +} function common_profile_url($nickname) { return common_local_url('showstream', array('nickname' => $nickname)); -- cgit v1.2.3-54-g00ecf