mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Update function calls
update function calls to new names
This commit is contained in:
parent
1a2b0b2565
commit
7f1fda43ae
7 changed files with 17 additions and 17 deletions
|
@ -179,14 +179,14 @@ function blogger_send(App $a, array &$b)
|
|||
return;
|
||||
}
|
||||
|
||||
$bl_username = XML::xmlify(PConfig::get($b['uid'], 'blogger', 'bl_username'));
|
||||
$bl_password = XML::xmlify(PConfig::get($b['uid'], 'blogger', 'bl_password'));
|
||||
$bl_username = XML::escape(PConfig::get($b['uid'], 'blogger', 'bl_username'));
|
||||
$bl_password = XML::escape(PConfig::get($b['uid'], 'blogger', 'bl_password'));
|
||||
$bl_blog = PConfig::get($b['uid'], 'blogger', 'bl_blog');
|
||||
|
||||
if ($bl_username && $bl_password && $bl_blog) {
|
||||
$title = '<title>' . (($b['title']) ? $b['title'] : L10n::t('Post from Friendica')) . '</title>';
|
||||
$post = $title . BBCode::convert($b['body']);
|
||||
$post = XML::xmlify($post);
|
||||
$post = XML::escape($post);
|
||||
|
||||
$xml = <<< EOT
|
||||
<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue