mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 11:10:18 +02:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user