From 4e4f5862b2fb63ba7fd521d0a169e22907517d9d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 14 Feb 2018 21:45:41 -0500 Subject: [PATCH] Remove unused $preserve_nl parameter from bb2diaspora() --- include/bb2diaspora.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 7e20037a0b..4f7cce8f5f 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -119,11 +119,10 @@ function diaspora_mentions($match) { * systems like Diaspora and Libertree * * @param string $Text - * @param bool $preserve_nl Effects unclear, unused in Friendica * @param bool $fordiaspora Diaspora requires more changes than Libertree * @return string */ -function bb2diaspora($Text, $preserve_nl = false, $fordiaspora = true) { +function bb2diaspora($Text, $fordiaspora = true) { $a = get_app(); $OriginalText = $Text;