aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-20 14:38:32 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-20 14:38:32 -0800
commit106b4fdd2d4b0cf893d27df7d60085b441f37b9a (patch)
tree54e6c412710c0ba0dbc3423b62ad99479822f36b /include
parentd9ddf7561f34ca4e83834e9144d2a4f25bc9fa0a (diff)
downloadvolse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.tar.gz
volse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.tar.bz2
volse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.zip
add v4 project roadmap, partial fix for cloning of profile photos on alternate profiles
Diffstat (limited to 'include')
-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));
+ }
+}