diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
commit | 5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81 (patch) | |
tree | 2f4f211b7d2e9b1ed22ea0b7927ce1481e1e8182 /phpBB/includes/acp/acp_words.php | |
parent | 5742dcd68a674b31b91fc39978aeaf6d74c48ceb (diff) | |
download | forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.gz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.bz2 forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.xz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.zip |
changed the cache files to save some memory (all global ones are hold in memory, doubling it).
git-svn-id: file:///svn/phpbb/trunk@7386 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_words.php')
-rw-r--r-- | phpBB/includes/acp/acp_words.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_words.php b/phpBB/includes/acp/acp_words.php index a35b7e5156..7e971d8e0f 100644 --- a/phpBB/includes/acp/acp_words.php +++ b/phpBB/includes/acp/acp_words.php @@ -91,7 +91,7 @@ class acp_words $db->sql_query('INSERT INTO ' . WORDS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary)); } - $cache->destroy('word_censors'); + $cache->destroy('_word_censors'); $log_action = ($word_id) ? 'LOG_WORD_EDIT' : 'LOG_WORD_ADD'; add_log('admin', $log_action, $word); @@ -123,7 +123,7 @@ class acp_words WHERE word_id = $word_id"; $db->sql_query($sql); - $cache->destroy('word_censors'); + $cache->destroy('_word_censors'); add_log('admin', 'LOG_WORD_DELETE', $deleted_word); |