streams/Zotlabs/Daemon/Cache_embeds.php
2020-05-06 22:01:48 -07:00

28 lines
340 B
PHP

<?php
namespace Zotlabs\Daemon;
class Cache_embeds {
static public function run($argc,$argv) {
if (! $argc == 2) {
return;
}
$c = q("select body, html from item where id = %d ",
dbesc(intval($argv[1]))
);
if (! $c) {
return;
}
$item = array_shift($c);
$s = bbcode($item['body']);
$s = sslify($s);
}
}