Remove unused $preserve_nl parameter from bb2diaspora()

This commit is contained in:
Hypolite Petovan 2018-02-14 21:46:33 -05:00
parent 91fd77af3b
commit ab23f858cb
2 changed files with 3 additions and 3 deletions

View file

@ -338,7 +338,7 @@ function diaspora_send(&$a,&$b) {
} while ($oldbody != $body);
// convert to markdown
$body = bb2diaspora($body, false, true);
$body = bb2diaspora($body);
// Adding the title
if(strlen($title))
@ -367,7 +367,7 @@ function diaspora_send(&$a,&$b) {
$a->contact = $r[0]["id"];
$s = serialize(['url' => $url, 'item' => $b['id'], 'post' => $body]);
Queue::add($a->contact, NETWORK_DIASPORA2, $s);
notice(L10n::t('Diaspora post failed. Queued for retry.').EOL);
}

View file

@ -217,7 +217,7 @@ function libertree_send(&$a,&$b) {
} while ($oldbody != $body);
// convert to markdown
$body = bb2diaspora($body, false, false);
$body = bb2diaspora($body, false);
// Adding the title
if(strlen($title))