[ActivityPub] Remove TFN's deprecated Census event
This commit is contained in:
parent
bbd9044626
commit
12945c4d20
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user