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

@@ -294,7 +294,7 @@ class OfflineBackupQueueHandler extends QueueHandler
$profile = $user->getProfile();
$author = ActivityObject::fromProfile($profile);
$author = $profile->asActivityObject();
$xs = new XMLStringer();
$author->outputTo($xs, 'author');