diff --git a/library/TorrentPier/Text/LangCorrect.php b/library/TorrentPier/Text/LangCorrect.php index 8b8440a4a..a78b3dc7f 100644 --- a/library/TorrentPier/Text/LangCorrect.php +++ b/library/TorrentPier/Text/LangCorrect.php @@ -3091,10 +3091,6 @@ class Text_LangCorrect $length = Text_UTF8::strlen($word); for ($pos = 0, $limit = $length - 1; $pos < $limit; $pos++) { - /* - TODO Качество проверки по несуществующим биграммам можно немного повысить, - если учитывать не только начало и конец слова, но и все позиции биграмм в слове. - */ $ss = Text_UTF8::substr($word, $pos, 2); if ($pos === 0) $ss = ' ' . $ss; #beginning of word elseif ($pos === $limit - 1) $ss = $ss . ' '; #ending of word diff --git a/library/TorrentPier/Text/Utf8.php b/library/TorrentPier/Text/Utf8.php index c84e3fc1d..098fac036 100644 --- a/library/TorrentPier/Text/Utf8.php +++ b/library/TorrentPier/Text/Utf8.php @@ -3472,7 +3472,7 @@ class Text_UTF8 if (! Text_ReflectionTypeHint::isValid()) return false; if (is_null($s)) return $s; - if (0) #TODO test speed + if (0) { $s = self::_convert($s, 'UTF-8', 'UTF-32'); if (! is_string($s)) return false; diff --git a/library/includes/core/mysql.php b/library/includes/core/mysql.php index 61959f052..ae7b304ff 100644 --- a/library/includes/core/mysql.php +++ b/library/includes/core/mysql.php @@ -906,7 +906,6 @@ class sql_db { case 'start': $this->explain_hold = ''; - // TODO: добавить поддержку многотабличных запросов if (preg_match('#UPDATE ([a-z0-9_]+).*?WHERE(.*)/#', $query, $m)) { $query = "SELECT * FROM $m[1] WHERE $m[2]"; diff --git a/library/includes/functions_admin.php b/library/includes/functions_admin.php index 82c76d003..a68a753b7 100644 --- a/library/includes/functions_admin.php +++ b/library/includes/functions_admin.php @@ -342,7 +342,7 @@ function topic_delete ($mode_or_topic_id, $forum_id = null, $prune_time = 0, $pr // Log action if ($prune) { - // TODO + // TODO Log action } else {