function convert_quote_tag($text = "") { if ($this->allow["LOG_QUOTE"] == "N") { return preg_replace(array("/\\[quote([^\\]\\<\\>])*\\]/i" . BX_UTF_PCRE_MODIFIER, "/\\[\\/quote([^\\]\\<\\>])*\\]/i" . BX_UTF_PCRE_MODIFIER), "", $text); } else { return parent::convert_quote_tag($text); } }
function convert_quote_tag($text = "") { if ($this->allow["LOG_QUOTE"] == "N") return preg_replace( array( "/\[quote([^\]\<\>])*\]/ie".BX_UTF_PCRE_MODIFIER, "/\[\/quote([^\]\<\>])*\]/ie".BX_UTF_PCRE_MODIFIER, ), "", $text); else return parent::convert_quote_tag($text); }