Converted all ActivityObject::fromProfile to $profile->asActivityObject

This commit is contained in:
Mikael Nordfeldth
2014-07-02 18:50:28 +02:00
parent 1d981b826a
commit b63f6e949c
12 changed files with 24 additions and 29 deletions

View File

@@ -157,7 +157,7 @@ class Fave extends Managed_DataObject
$profile->getBestName(),
$notice->getUrl());
$act->actor = ActivityObject::fromProfile($profile);
$act->actor = $profile->asActivityObject();
$act->objects[] = ActivityObject::fromNotice($notice);
$url = common_local_url('AtomPubShowFavorite',