Commit fc8ae2d2 authored by Zot's avatar Zot

hzfiles fixes (missing include, sync_files needs to provide an array of...

hzfiles fixes (missing include, sync_files needs to provide an array of file_export elements, not just the elements)
parent b0da60ac
......@@ -2,6 +2,7 @@
require_once('include/cli_startup.php');
require_once('include/attach.php');
require_once('include/import.php');
cli_startup();
......@@ -36,7 +37,7 @@ $hz_server = urldecode($argv[3]);
logger('data: ' . print_r($j,true));
}
else {
$r = sync_files($channel,$j);
$r = sync_files($channel,[$j]);
}
killme();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment