diff --git a/plugins/ActivityPub/ActivityPubPlugin.php b/plugins/ActivityPub/ActivityPubPlugin.php index 0df868f408..056256b77f 100644 --- a/plugins/ActivityPub/ActivityPubPlugin.php +++ b/plugins/ActivityPub/ActivityPubPlugin.php @@ -220,18 +220,6 @@ class ActivityPubPlugin extends Plugin return true; } - /** - * Subscribe AP's profile class to the TFN module - * - * @param array $federation - * @return bool event hook return - */ - public function onStartTFNCensus(array &$federation): bool - { - $federation[] = 'Activitypub_profile'; - return true; - } - /** * Set up queue handlers for required interactions * @@ -387,7 +375,7 @@ class ActivityPubPlugin extends Plugin if ($profile->isLocal()) { return true; } - + $aprofile = Activitypub_profile::getKV('profile_id', $profile->getID()); if (!$aprofile instanceof Activitypub_profile) { // Not a remote ActivityPub_profile! Maybe some other network