X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=671551f832589e89ab4c839e1c48ada353a79cb7;hb=a5550b470223f084c355e1acea173c913c63675d;hp=d212bb5f9cb0663db50b1d781f75a34ed285c15a;hpb=0c52866693add20fc4476e26a5c7ae14f5d5272a;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index d212bb5f9c..671551f832 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -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); }