]> git.mxchange.org Git - friendica-addons.git/commitdiff
Remove unused $preserve_nl parameter from bb2diaspora()
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 15 Feb 2018 02:46:33 +0000 (21:46 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Thu, 15 Feb 2018 02:46:33 +0000 (21:46 -0500)
diaspora/diaspora.php
libertree/libertree.php

index b486c0956a76cc6ec26685d4316dd73ed7083946..49a9cfc471bca2e57bbd5e9366958fd1b855f8ab 100644 (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);
                }
index b48c9b188d90e83866e2e4db42ce7146a2448f7e..0685123842d189fb43cc336e04dee181cfdfc0cd 100644 (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))