]> git.mxchange.org Git - friendica.git/blobdiff - mod/oexchange.php
Merge pull request #5328 from annando/item-activities
[friendica.git] / mod / oexchange.php
index feca39d3530334f418e785f8ae7790795ad2291c..9f844e1db3770f7e4cd5243773e12c4d641750df 100644 (file)
@@ -46,13 +46,11 @@ function oexchange_content(App $a) {
                return;
        }
 
-       require_once('include/html2bbcode.php');
-
        $post = [];
 
        $post['profile_uid'] = local_user();
        $post['return'] = '/oexchange/done' ;
-       $post['body'] = html2bbcode($s);
+       $post['body'] = Friendica\Content\Text\HTML::toBBCode($s);
        $post['type'] = 'wall';
 
        $_REQUEST = $post;