aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-05 11:16:20 +0000
committerMario <mario@mariovavti.com>2021-09-05 11:16:20 +0000
commitde02d4c04b0c7caf22e28aacef72c0cb0d80325f (patch)
tree1998d4b60ca913d5600c7f320f06db36b5eaf665 /Zotlabs/Lib/Activity.php
parent18cd3926d7a0875e5dcc1f2a1bc49db9eefbeed3 (diff)
downloadvolse-hubzilla-de02d4c04b0c7caf22e28aacef72c0cb0d80325f.tar.gz
volse-hubzilla-de02d4c04b0c7caf22e28aacef72c0cb0d80325f.tar.bz2
volse-hubzilla-de02d4c04b0c7caf22e28aacef72c0cb0d80325f.zip
do not save collections in a separate xconfig anymore
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index a4cd28bd5..971381fb2 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1652,20 +1652,6 @@ class Activity {
$profile = $url;
}
- $collections = [];
-
- if ($inbox) {
- $collections['inbox'] = $inbox;
- if (array_key_exists('outbox', $person_obj))
- $collections['outbox'] = $person_obj['outbox'];
- if (array_key_exists('followers', $person_obj))
- $collections['followers'] = $person_obj['followers'];
- if (array_key_exists('following', $person_obj))
- $collections['following'] = $person_obj['following'];
- if (array_key_exists('endpoints', $person_obj) && array_key_exists('sharedInbox', $person_obj['endpoints']))
- $collections['sharedInbox'] = $person_obj['endpoints']['sharedInbox'];
- }
-
if (array_key_exists('publicKey', $person_obj) && array_key_exists('publicKeyPem', $person_obj['publicKey'])) {
if ($person_obj['id'] === $person_obj['publicKey']['owner']) {
$pubkey = $person_obj['publicKey']['publicKeyPem'];
@@ -1751,10 +1737,6 @@ class Activity {
);
}
- if ($collections) {
- set_xconfig($url, 'activitypub', 'collections', $collections);
- }
-
$photos = import_xchan_photo($icon, $url);
q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s' where xchan_hash = '%s'",
dbescdate(datetime_convert('UTC', 'UTC', $photos[5])),