Remove unused $preserve_nl parameter from bb2diaspora()
This commit is contained in:
parent
91fd77af3b
commit
ab23f858cb
|
@ -338,7 +338,7 @@ function diaspora_send(&$a,&$b) {
|
||||||
} while ($oldbody != $body);
|
} while ($oldbody != $body);
|
||||||
|
|
||||||
// convert to markdown
|
// convert to markdown
|
||||||
$body = bb2diaspora($body, false, true);
|
$body = bb2diaspora($body);
|
||||||
|
|
||||||
// Adding the title
|
// Adding the title
|
||||||
if(strlen($title))
|
if(strlen($title))
|
||||||
|
@ -367,7 +367,7 @@ function diaspora_send(&$a,&$b) {
|
||||||
$a->contact = $r[0]["id"];
|
$a->contact = $r[0]["id"];
|
||||||
|
|
||||||
$s = serialize(['url' => $url, 'item' => $b['id'], 'post' => $body]);
|
$s = serialize(['url' => $url, 'item' => $b['id'], 'post' => $body]);
|
||||||
|
|
||||||
Queue::add($a->contact, NETWORK_DIASPORA2, $s);
|
Queue::add($a->contact, NETWORK_DIASPORA2, $s);
|
||||||
notice(L10n::t('Diaspora post failed. Queued for retry.').EOL);
|
notice(L10n::t('Diaspora post failed. Queued for retry.').EOL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,7 +217,7 @@ function libertree_send(&$a,&$b) {
|
||||||
} while ($oldbody != $body);
|
} while ($oldbody != $body);
|
||||||
|
|
||||||
// convert to markdown
|
// convert to markdown
|
||||||
$body = bb2diaspora($body, false, false);
|
$body = bb2diaspora($body, false);
|
||||||
|
|
||||||
// Adding the title
|
// Adding the title
|
||||||
if(strlen($title))
|
if(strlen($title))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user