diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-12-05 16:34:38 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-12-05 16:34:38 +0000 |
commit | 0881e608f880b5b8060e54dbf9eba7e234eee8c6 (patch) | |
tree | 36582595d10cb8c26f5f41a5943f89ec393e2829 /phpBB/includes/cache.php | |
parent | 7c793ba9d7e0a17cd33079e766221f9dbd47bddc (diff) | |
download | forums-0881e608f880b5b8060e54dbf9eba7e234eee8c6.tar forums-0881e608f880b5b8060e54dbf9eba7e234eee8c6.tar.gz forums-0881e608f880b5b8060e54dbf9eba7e234eee8c6.tar.bz2 forums-0881e608f880b5b8060e54dbf9eba7e234eee8c6.tar.xz forums-0881e608f880b5b8060e54dbf9eba7e234eee8c6.zip |
wonderful, another change... now come slap me to death... conquering mars.
git-svn-id: file:///svn/phpbb/trunk@8269 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/cache.php')
-rw-r--r-- | phpBB/includes/cache.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php index 5198abdc3c..31b8b73e10 100644 --- a/phpBB/includes/cache.php +++ b/phpBB/includes/cache.php @@ -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) { |