diff options
Diffstat (limited to 'phpBB/admin/admin_words.php')
| -rw-r--r-- | phpBB/admin/admin_words.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/phpBB/admin/admin_words.php b/phpBB/admin/admin_words.php index 628e0318f3..fb92a75785 100644 --- a/phpBB/admin/admin_words.php +++ b/phpBB/admin/admin_words.php @@ -167,25 +167,6 @@ if ($mode != '') } - $sql = "SELECT * - FROM " . WORDS_TABLE . " - ORDER BY word"; - $result = $db->sql_query($sql); - - if ($row = $db->sql_fetchrow($result)) - { - $censors = array(); - do - { - $censors['match'][] = '#\b(' . str_replace('\*', '\w*?', preg_quote($row['word'], '#')) . ')\b#i'; - $censors['replace'][] = $row['replacement']; - } - while ($row = $db->sql_fetchrow($result)); - - $cache->put('word_censors', $censors); - } - $db->sql_freeresult($result); - trigger_error($message); } |
