1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Legacy textparse class removed. Separate emote and profanity classes.

This commit is contained in:
Cameron
2021-01-14 17:26:15 -08:00
parent f7fdf19e24
commit d51f5cb936
8 changed files with 257 additions and 276 deletions

View File

@@ -43,11 +43,7 @@ class bb_code extends e_bb_base
if($pref['smiley_activate'])
{
if (!is_object($tp->e_emote))
{
$tp->e_emote = new e_emoteFilter;
}
$code_text = $tp->e_emote->filterEmotesRev($code_text);
$code_text = e107::getEmote()->filterEmotesRev($code_text);
}
$search = array(E_NL,'\','$', '<');