[OStatus] Remove TFN's deprecated Census event and fix small typo in the code
This commit is contained in:
@@ -1440,18 +1440,6 @@ class OStatusPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subscribe OS's profile class to the TFN module
|
||||
*
|
||||
* @param array $federation
|
||||
* @return bool event hook return
|
||||
*/
|
||||
public function onStartTFNCensus(array &$federation): bool
|
||||
{
|
||||
$federation[] = 'Ostatus_profile';
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility function to check if the given URI is a canonical group profile
|
||||
* page, and if so return the ID number.
|
||||
@@ -1704,10 +1692,10 @@ class OStatusPlugin extends Plugin
|
||||
$qm->enqueue($item, 'pushrenew');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Try to grab and store the remote profile by the given uri
|
||||
*
|
||||
*
|
||||
* @param string $uri
|
||||
* @param Profile &$profile
|
||||
* @return bool
|
||||
|
Reference in New Issue
Block a user