]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Profile/Status.php
The conversation functionality moved to a class
[friendica.git] / src / Module / Profile / Status.php
index c6a9e272a989afda1ee560a353b2815dc743f1bf..3c1ed8c5ac8ad6fb35dd361d9afc04e76753b45f 100644 (file)
@@ -132,7 +132,7 @@ class Status extends BaseProfile
                                'profile_uid' => $profile['uid'],
                        ];
 
-                       $o .= status_editor($a, $x);
+                       $o .= DI::conversation()->statusEditor($x);
                }
 
                // Get permissions SQL - if $remote_contact is true, our remote user has been pre-verified and we already have fetched his/her groups
@@ -224,7 +224,7 @@ class Status extends BaseProfile
                        $items = array_merge($items, $pinned);
                }
 
-               $o .= conversation($a, $items, 'profile', false, false, 'pinned_received', $profile['uid']);
+               $o .= DI::conversation()->create($items, 'profile', false, false, 'pinned_received', $profile['uid']);
 
                $o .= $pager->renderMinimal(count($items));