]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bad parameter count for checkAuthorship
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 24 Nov 2014 11:49:20 +0000 (12:49 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 24 Nov 2014 11:49:20 +0000 (12:49 +0100)
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

index 05842ab05bed66b717d59b41bf27378157a2cac5..7ddf1f4d8a8646abd4d5b908c677d5753b333e95 100644 (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.