summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-12 14:40:28 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-12 14:40:28 -0400
commitc2a170da108a6645846aa2e60238974b49363b21 (patch)
tree9f8cae9f53744d4a5a03e7350065079ac6ac4faa /lib/util.php
parentaaf0786bef3515ed8d61c18b001372e2e0ddff6a (diff)
broadcast profile and change subscription input id
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php7
1 files changed, 7 insertions, 0 deletions
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));