aboutsummaryrefslogtreecommitdiffstats
path: root/util/pconfig
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 /util/pconfig
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 'util/pconfig')
-rwxr-xr-xutil/pconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/pconfig b/util/pconfig
index 36d894fb5..c2027adaf 100755
--- a/util/pconfig
+++ b/util/pconfig
@@ -1,6 +1,8 @@
#!/usr/bin/env php
<?php
+use Zotlabs\Lib\Libsync;
+
// Red pconfig utility
@@ -63,7 +65,7 @@ if($argc > 2 && strpos($argv[2],'.')) {
if($argc > 4) {
set_pconfig($argv[1],$argv[2],$argv[3],$argv[4]);
- build_sync_packet($argv[1]);
+ Libsync::build_sync_packet($argv[1]);
echo "pconfig[{$argv[1]}][{$argv[2]}][{$argv[3]}] = " . get_pconfig($argv[1],$argv[2],$argv[3]) . "\n";
}