[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:
tenma 2019-08-09 15:17:13 +01:00 committed by Diogo Cordeiro
parent 054f4e77f5
commit 7fa5ddfc44

View File

@ -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(