diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-10-03 09:05:32 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-10-03 09:05:32 +0200 |
commit | 4afd1ac705b7e0b8db7bbfacc5f46e0e42c9d4f1 (patch) | |
tree | 9449215a7a13ecc7bd1a8189d3a3100296673000 /include/import.php | |
parent | 574a01727ec500ee0c6be0965c5021927c802d52 (diff) | |
download | volse-hubzilla-4afd1ac705b7e0b8db7bbfacc5f46e0e42c9d4f1.tar.gz volse-hubzilla-4afd1ac705b7e0b8db7bbfacc5f46e0e42c9d4f1.tar.bz2 volse-hubzilla-4afd1ac705b7e0b8db7bbfacc5f46e0e42c9d4f1.zip |
add optional $removed argument to channelx_by functions to allow inclusion of removed channels which is required (mod channel, daemon notifier -> refresh_all) if a channel got removed also remove caching to App so we always get a fresh copy. In import_hublocs() add site_id to the array passed to Libzot::gethubs() because it is expected there.
Diffstat (limited to 'include/import.php')
-rw-r--r-- | include/import.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php index f635f3705..6e25f4154 100644 --- a/include/import.php +++ b/include/import.php @@ -238,7 +238,8 @@ function import_hublocs($channel, $hublocs, $seize, $moving = false) { 'id' => $hubloc['hubloc_guid'], 'id_sig' => $hubloc['hubloc_guid_sig'], 'location' => $hubloc['hubloc_url'], - 'location_sig' => $hubloc['hubloc_url_sig'] + 'location_sig' => $hubloc['hubloc_url_sig'], + 'site_id' => $hubloc['hubloc_site_id'] ]; if (($hubloc['hubloc_hash'] === $channel['channel_hash']) && intval($hubloc['hubloc_primary']) && ($seize)) { |