]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Merge pull request #5253 from rabuzarus/20180616_-_magic_auth_test_2
[friendica.git] / mod / poco.php
index d212bb5f9cb0663db50b1d781f75a34ed285c15a..671551f832589e89ab4c839e1c48ada353a79cb7 100644 (file)
@@ -43,6 +43,7 @@ function poco_init(App $a) {
                echo json_encode($ret);
                killme();
        }
+
        if ($a->argc > 1 && $a->argv[1] === '@global') {
                // List of all profiles that this server recently had data from
                $global = true;
@@ -246,7 +247,6 @@ function poco_init(App $a) {
                                }
                                $about = Cache::get("about:" . $contact['updated'] . ":" . $contact['nurl']);
                                if (is_null($about)) {
-                                       require_once 'include/bbcode.php';
                                        $about = BBCode::convert($contact['about'], false);
                                        Cache::set("about:" . $contact['updated'] . ":" . $contact['nurl'], $about);
                                }