diff options
author | Mario Vavti <mario@mariovavti.com> | 2024-11-14 12:47:40 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2024-11-14 12:47:40 +0100 |
commit | c9a8914b07827cb1a77aadcabb60f7713b675d6c (patch) | |
tree | c19561ff967ef8fc3a514074b2fed97390ce5e20 /Zotlabs/Module/Import.php | |
parent | b21b9260d91296ea7ea22154455941985d99dc90 (diff) | |
download | volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.tar.gz volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.tar.bz2 volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.zip |
fix some conent import issues
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r-- | Zotlabs/Module/Import.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php index 5ace4e72d..7aed6469e 100644 --- a/Zotlabs/Module/Import.php +++ b/Zotlabs/Module/Import.php @@ -534,6 +534,7 @@ class Import extends Controller { if ($api_path) { $parsed = parse_url($api_path); unset($parsed['path']); + unset($parsed['query']); // store the import host so we can manually kick off item/file sync later in case anything did not work out set_pconfig($channel['channel_id'], 'import', 'host', $parsed['host']); @@ -551,7 +552,7 @@ class Import extends Controller { $until = datetime_convert(date_default_timezone_get(), date_default_timezone_get(), 'now + 1 day'); //$poll_interval = Config::Get('system', 'poll_interval', 3); - $page = 0; + $page = 0; Master::Summon(['Content_importer', sprintf('%d', $page), $since, $until, $channel['channel_address'], urlencode($hz_server)]); Master::Summon(['File_importer', sprintf('%d', $page), $channel['channel_address'], urlencode($hz_server)]); |