summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
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));