]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atomusernoticefeed.php
ModPlus and some layouting issues regarding fixes
[quix0rs-gnu-social.git] / lib / atomusernoticefeed.php
index b899ecff4aa4c15da5173ddf9f40f81b49cc9c72..567045ee869ba50026de6cbb62787d40e1a26b7b 100644 (file)
@@ -62,7 +62,7 @@ class AtomUserNoticeFeed extends AtomNoticeFeed
 
             $profile = $user->getProfile();
 
-            $ao = ActivityObject::fromProfile($profile);
+            $ao = $profile->asActivityObject();
 
             array_push($ao->extra, $profile->profileInfo($cur));