aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-09 09:38:36 +0000
committerMario <mario@mariovavti.com>2020-04-09 09:38:36 +0000
commit328685d2fbe505fd5b1bf9892a0cce993210ac52 (patch)
tree5c2a800872074fa86c284e95382dc6d535cfd9b2 /include/group.php
parent806c738923b9d880af49a1811d8fbf2c2ee36309 (diff)
downloadvolse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.tar.gz
volse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.tar.bz2
volse-hubzilla-328685d2fbe505fd5b1bf9892a0cce993210ac52.zip
move from build_sync_packet() to Libsync::build_sync_packet()
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/group.php b/include/group.php
index 6011af08f..efda389d6 100644
--- a/include/group.php
+++ b/include/group.php
@@ -1,5 +1,6 @@
<?php /** @file */
+use Zotlabs\Lib\Libsync;
function group_add($uid,$name,$public = 0) {
@@ -44,7 +45,7 @@ function group_add($uid,$name,$public = 0) {
$ret = $r;
}
- build_sync_packet($uid,null,true);
+ Libsync::build_sync_packet($uid,null,true);
return $ret;
}
@@ -113,7 +114,7 @@ function group_rmv($uid,$name) {
}
- build_sync_packet($uid,null,true);
+ Libsync::build_sync_packet($uid,null,true);
return $ret;
}
@@ -155,7 +156,7 @@ function group_rmv_member($uid,$name,$member) {
dbesc($member)
);
- build_sync_packet($uid,null,true);
+ Libsync::build_sync_packet($uid,null,true);
return $r;
@@ -186,7 +187,7 @@ function group_add_member($uid,$name,$member,$gid = 0) {
dbesc($member)
);
- build_sync_packet($uid,null,true);
+ Libsync::build_sync_packet($uid,null,true);
return $r;
}