add v4 project roadmap, partial fix for cloning of profile photos on alternate profiles

This commit is contained in:
redmatrix
2015-11-20 14:38:32 -08:00
parent d9ddf7561f
commit 106b4fdd2d
4 changed files with 53 additions and 4 deletions

View File

@@ -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));
}
}