From: Mikael Nordfeldth Date: Mon, 24 Nov 2014 11:49:20 +0000 (+0100) Subject: Bad parameter count for checkAuthorship X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3bf1478f97162676ffc90e4c1306c0fd9e16cf01;p=quix0rs-gnu-social.git 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. --- 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.