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.
This commit is contained in:
Mikael Nordfeldth 2014-11-24 12:49:20 +01:00
parent 4b875e0fd0
commit 3bf1478f97
1 changed files with 1 additions and 1 deletions

View File

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