aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
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;
}