From 3bf1478f97162676ffc90e4c1306c0fd9e16cf01 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 24 Nov 2014 12:49:20 +0100 Subject: [PATCH] Bad parameter count for checkAuthorship At the same time we change this to call ActivityUtils::checkAuthorship instead to let the retrieval/verification go through event handling. rozzin (Joshua Judson Rosen) found this error. Thanks. --- plugins/OStatus/classes/Ostatus_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 05842ab05b..7ddf1f4d8a 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -735,7 +735,7 @@ class Ostatus_profile extends Managed_DataObject { $notice = null; - $profile = $this->checkAuthorship($activity, $this->localProfile()); + $profile = ActivityUtils::checkAuthorship($activity, $this->localProfile()); // It's not always an ActivityObject::NOTE, but... let's just say it is.