aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-28 13:16:47 +0000
committerMario <mario@mariovavti.com>2024-02-28 13:16:47 +0000
commit291e12574aeb3b71200b23d8ffc630a36f170008 (patch)
treeed22ebe4ab9327a231f6fad3402c4231b1c7bbbf /Zotlabs/Lib/Activity.php
parentfc5b5ba021e23d2cc1b7556a77f176309e46edb9 (diff)
downloadvolse-hubzilla-291e12574aeb3b71200b23d8ffc630a36f170008.tar.gz
volse-hubzilla-291e12574aeb3b71200b23d8ffc630a36f170008.tar.bz2
volse-hubzilla-291e12574aeb3b71200b23d8ffc630a36f170008.zip
more cleanup
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 15e292ec4..b4ce4b5d0 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -783,11 +783,6 @@ class Activity {
$ret = [];
$reply = false;
- if ($i['verb'] === ACTIVITY_FRIEND) {
- // Hubzilla 'make-friend' activity, no direct mapping from AS1 to AS2 - make it a note
- $ret['obj'] = [];
- }
-
$ret['type'] = self::activity_mapper($i['verb']);
if ((isset($i['item_deleted']) && intval($i['item_deleted'])) && !$recurse) {
@@ -1221,9 +1216,6 @@ class Activity {
return $acts[$verb];
}
- if (strpos($verb, ACTIVITY_FRIEND) !== false)
- return 'Create';
-
// We should return false, however this will trigger an uncaught execption and crash
// the delivery system if encountered by the JSON-LDSignature library