Replace global $lang with system.language

This commit is contained in:
Hypolite Petovan 2018-07-09 22:37:51 -04:00
parent adacf421a6
commit d0780ccf7d
6 changed files with 16 additions and 26 deletions

View file

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