1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

wonderful, another change... now come slap me to death... conquering mars.

git-svn-id: file:///svn/phpbb/trunk@8269 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-12-05 16:34:38 +00:00
parent 7c793ba9d7
commit 0881e608f8
3 changed files with 4 additions and 7 deletions

View File

@@ -73,12 +73,7 @@ class cache extends acm
*/
function obtain_word_list()
{
global $config, $user, $db;
if (!$user->optionget('viewcensors') && $config['allow_nocensors'])
{
return array();
}
global $db;
if (($censors = $this->get('_word_censors')) === false)
{