]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Merge pull request #4718 from MrPetovan/bug/fix-console-url-argument
[friendica.git] / mod / poco.php
index 639ab8469c0f085eb949f6e960e8b71805eb9103..0728020eccab3292e6cc7428b616bc5b80bed149 100644 (file)
@@ -5,6 +5,7 @@
 
 
 use Friendica\App;
+use Friendica\Content\Text\BBCode;
 use Friendica\Core\Cache;
 use Friendica\Core\Config;
 use Friendica\Core\System;
@@ -245,8 +246,7 @@ function poco_init(App $a) {
                                }
                                $about = Cache::get("about:" . $contact['updated'] . ":" . $contact['nurl']);
                                if (is_null($about)) {
-                                       require_once 'include/bbcode.php';
-                                       $about = bbcode($contact['about'], false, false);
+                                       $about = BBCode::convert($contact['about'], false);
                                        Cache::set("about:" . $contact['updated'] . ":" . $contact['nurl'], $about);
                                }