the sending side of clone syncing of collection/privacy_group information. The receiving side is not yet implemented.
This commit is contained in:
@@ -46,6 +46,9 @@ function group_add($uid,$name,$public = 0) {
|
||||
);
|
||||
$ret = $r;
|
||||
}
|
||||
|
||||
build_sync_packet($uid,null,true);
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
@@ -113,6 +116,8 @@ function group_rmv($uid,$name) {
|
||||
|
||||
}
|
||||
|
||||
build_sync_packet($uid,null,true);
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
@@ -152,6 +157,9 @@ function group_rmv_member($uid,$name,$member) {
|
||||
intval($gid),
|
||||
dbesc($member)
|
||||
);
|
||||
|
||||
build_sync_packet($uid,null,true);
|
||||
|
||||
return $r;
|
||||
|
||||
|
||||
@@ -180,6 +188,9 @@ function group_add_member($uid,$name,$member,$gid = 0) {
|
||||
intval($gid),
|
||||
dbesc($member)
|
||||
);
|
||||
|
||||
build_sync_packet($uid,null,true);
|
||||
|
||||
return $r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user