aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-14 02:37:41 -0700
committerfriendica <info@friendica.com>2014-07-14 02:37:41 -0700
commit5ad76c4d0c2227e8e241a52b75abedc7503523ac (patch)
tree41d486094dd05c2ef32a6ee031701f08a63e31df /include/group.php
parent233e4e13636edd857ded7393555feb4bf198eed3 (diff)
downloadvolse-hubzilla-5ad76c4d0c2227e8e241a52b75abedc7503523ac.tar.gz
volse-hubzilla-5ad76c4d0c2227e8e241a52b75abedc7503523ac.tar.bz2
volse-hubzilla-5ad76c4d0c2227e8e241a52b75abedc7503523ac.zip
the sending side of clone syncing of collection/privacy_group information. The receiving side is not yet implemented.
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/group.php b/include/group.php
index 56f177ab0..acb65df28 100644
--- a/include/group.php
+++ b/include/group.php
@@ -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;
}