diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-20 21:24:58 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-20 21:24:58 -0700 |
commit | 31e62bd19e2fcfe70487ab38ee6b688e48a79c95 (patch) | |
tree | 69a4b2308cf0dac50001ee012eb7405cd1969c31 /util/dmkdir | |
parent | 52c6ea51152b6255b45ffb68181fa63413a6fffc (diff) | |
download | volse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.tar.gz volse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.tar.bz2 volse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.zip |
a few file activities were not getting synced
Diffstat (limited to 'util/dmkdir')
-rwxr-xr-x | util/dmkdir | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/dmkdir b/util/dmkdir index ffb1932e5..72ab22431 100755 --- a/util/dmkdir +++ b/util/dmkdir @@ -46,3 +46,12 @@ if($argc != 2) { ]; $x = attach_mkdirp($channel,$channel['channel_hash'],$arr); + + if($x['success']) { + $hash = $x['data']['hash']; + + $sync = attach_export_data($channel,$hash); + if($sync) { + build_sync_packet($channel['channel_id'],array('file' => array($sync))); + } + }
\ No newline at end of file |