aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/textformatter/data_access.php2
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/textformatter/data_access.php b/phpBB/phpbb/textformatter/data_access.php
index 2576b734f4..008e1fd5c0 100644
--- a/phpBB/phpbb/textformatter/data_access.php
+++ b/phpBB/phpbb/textformatter/data_access.php
@@ -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);
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index 20ed692850..ce9d34e247 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -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