mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Replace global $lang with system.language
This commit is contained in:
parent
adacf421a6
commit
d0780ccf7d
6 changed files with 16 additions and 26 deletions
|
@ -549,8 +549,6 @@ class HTML
|
|||
|
||||
public static function toPlaintext($html, $wraplength = 75, $compact = false)
|
||||
{
|
||||
global $lang;
|
||||
|
||||
$message = str_replace("\r", "", $html);
|
||||
|
||||
$doc = new DOMDocument();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue