aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-21 00:08:17 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-21 00:08:17 +0100
commit6942c715d0342dd83ec035b576aa23f7213cf4e9 (patch)
tree086e40d3d11c2eeb564b443d97b56aba4c1ae8b0 /include/identity.php
parentde1b3d5113a6140d59612a14d3b0f2f17a5beefa (diff)
parent427652e9bd8e312758f04c6c3e6824fb47cc3033 (diff)
downloadvolse-hubzilla-6942c715d0342dd83ec035b576aa23f7213cf4e9.tar.gz
volse-hubzilla-6942c715d0342dd83ec035b576aa23f7213cf4e9.tar.bz2
volse-hubzilla-6942c715d0342dd83ec035b576aa23f7213cf4e9.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index 21d919508..4682cf624 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -1689,3 +1689,14 @@ function get_channel_default_perms($uid) {
return 0;
}
+
+
+function profiles_build_sync($channel_id) {
+
+ $r = q("select * from profile where uid = %d",
+ intval($channel_id)
+ );
+ if($r) {
+ build_sync_packet($channel_id,array('profile' => $r));
+ }
+}