mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
update function calls
update function calls to new class
This commit is contained in:
parent
7f1fda43ae
commit
b8df74beca
7 changed files with 25 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue