From: Hypolite Petovan Date: Thu, 15 Feb 2018 02:46:33 +0000 (-0500) Subject: Remove unused $preserve_nl parameter from bb2diaspora() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab23f858cb1673c3bbb11953cbc7877522c99efe;p=friendica-addons.git Remove unused $preserve_nl parameter from bb2diaspora() --- diff --git a/diaspora/diaspora.php b/diaspora/diaspora.php index b486c095..49a9cfc4 100644 --- a/diaspora/diaspora.php +++ b/diaspora/diaspora.php @@ -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); } diff --git a/libertree/libertree.php b/libertree/libertree.php index b48c9b18..06851238 100644 --- a/libertree/libertree.php +++ b/libertree/libertree.php @@ -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))