Implement xml functions

implement functions moved to xml class
This commit is contained in:
Adam Magness 2018-11-03 13:16:21 -04:00
parent 0c9ea00439
commit 1a2b0b2565
7 changed files with 30 additions and 22 deletions

View file

@ -15,6 +15,7 @@ use Friendica\Core\Logger;
use Friendica\Core\PConfig;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\XML;
function ijpost_install()
{
@ -185,7 +186,7 @@ function ijpost_send(&$a, &$b)
if ($ij_username && $ij_password && $ij_blog) {
$title = $b['title'];
$post = BBCode::convert($b['body']);
$post = xmlify($post);
$post = XML::xmlify($post);
$tags = ijpost_get_tags($b['tag']);
$date = DateTimeFormat::convert($b['created'], $tz);