Remove unused $preserve_nl parameter from bb2diaspora()

2022.09-rc
Hypolite Petovan 2018-02-14 21:45:41 -05:00
rodzic 0c52866693
commit 4e4f5862b2
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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;