[ActivityPub] Fix WebFinger event subscription
ActivityPubPlugin: - remove reference to the first argument of onEndWebFingerProfileLinks, no need as it is an object
This commit is contained in:
parent
b4b5d3e009
commit
ec749aa350
@ -420,7 +420,7 @@ class ActivityPubPlugin extends Plugin
|
|||||||
* @throws Exception
|
* @throws Exception
|
||||||
* @author Diogo Cordeiro <diogo@fc.up.pt>
|
* @author Diogo Cordeiro <diogo@fc.up.pt>
|
||||||
*/
|
*/
|
||||||
public function onEndWebFingerProfileLinks(XML_XRD &$xrd, Managed_DataObject $object)
|
public function onEndWebFingerProfileLinks(XML_XRD $xrd, Managed_DataObject $object)
|
||||||
{
|
{
|
||||||
if ($object->isPerson()) {
|
if ($object->isPerson()) {
|
||||||
$link = new XML_XRD_Element_Link(
|
$link = new XML_XRD_Element_Link(
|
||||||
|
Loading…
Reference in New Issue
Block a user