Remove unused $preserve_nl parameter from bb2diaspora()

This commit is contained in:
Hypolite Petovan 2018-02-14 21:45:41 -05:00
parent 0c52866693
commit 4e4f5862b2

View file

@ -119,11 +119,10 @@ function diaspora_mentions($match) {
* systems like Diaspora and Libertree * systems like Diaspora and Libertree
* *
* @param string $Text * @param string $Text
* @param bool $preserve_nl Effects unclear, unused in Friendica
* @param bool $fordiaspora Diaspora requires more changes than Libertree * @param bool $fordiaspora Diaspora requires more changes than Libertree
* @return string * @return string
*/ */
function bb2diaspora($Text, $preserve_nl = false, $fordiaspora = true) { function bb2diaspora($Text, $fordiaspora = true) {
$a = get_app(); $a = get_app();
$OriginalText = $Text; $OriginalText = $Text;