mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[ticket/11768] Renamed get_words() to get_censored_words()
PHPBB3-11768
This commit is contained in:
@@ -217,7 +217,7 @@ class data_access
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_words()
|
||||
public function get_censored_words()
|
||||
{
|
||||
$sql = 'SELECT word, replacement FROM ' . $this->words_table;
|
||||
$result = $this->db->sql_query($sql);
|
||||
|
@@ -266,7 +266,7 @@ class factory implements \phpbb\textformatter\cache
|
||||
}
|
||||
|
||||
// Load the censored words
|
||||
$censor = $this->dal->get_words();
|
||||
$censor = $this->dal->get_censored_words();
|
||||
if (!empty($censor))
|
||||
{
|
||||
// Use a namespaced tag to avoid collisions
|
||||
|
Reference in New Issue
Block a user