mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Develop
это уже давно устарело
This commit is contained in:
parent
55a7b200dd
commit
c88b41e35c
1 changed files with 0 additions and 11 deletions
|
@ -422,7 +422,6 @@ function add_search_words ($post_id, $post_message, $topic_title = '', $only_ret
|
|||
global $bb_cfg;
|
||||
|
||||
$text = $topic_title .' '. $post_message;
|
||||
$text = strip_bbcode_uid($text);
|
||||
$words = ($text) ? extract_search_words($text) : array();
|
||||
|
||||
if ($only_return_words || $bb_cfg['search_engine_type'] == 'sphinx')
|
||||
|
@ -841,16 +840,6 @@ function bbcode2html ($text)
|
|||
return $bbcode->bbcode2html($text);
|
||||
}
|
||||
|
||||
function strip_bbcode_uid ($text)
|
||||
{
|
||||
$text = str_replace('[tab]', ' ', $text);
|
||||
$text = str_replace('"', '"', $text);
|
||||
$text = str_replace('code:1:', 'code:', $text);
|
||||
$text = str_replace('list:u:', 'list:', $text);
|
||||
$text = str_replace('list:o:', 'list:', $text);
|
||||
return $text;
|
||||
}
|
||||
|
||||
class words_rate
|
||||
{
|
||||
var $dbg_mode = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue