update function calls

update function calls to new class
This commit is contained in:
Adam Magness 2018-11-05 07:47:04 -05:00
parent 7f1fda43ae
commit b8df74beca
7 changed files with 25 additions and 25 deletions

View file

@ -17,7 +17,7 @@ use Friendica\Core\PConfig;
use Friendica\Database\DBA;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\XML;
use Friendica\Util\Strings;
function dwpost_install()
{
@ -190,7 +190,7 @@ function dwpost_send(App $a, array &$b)
if ($dw_username && $dw_password && $dw_blog) {
$title = $b['title'];
$post = BBCode::convert($b['body']);
$post = XML::escape($post);
$post = Strings::escape($post);
$tags = dwpost_get_tags($b['tag']);
$date = DateTimeFormat::convert($b['created'], $tz);