mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +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:
@@ -50,7 +50,7 @@ class acp_bots
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
$cache->destroy('bots');
|
||||
$cache->destroy('_bots');
|
||||
break;
|
||||
|
||||
case 'deactivate':
|
||||
@@ -64,7 +64,7 @@ class acp_bots
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
$cache->destroy('bots');
|
||||
$cache->destroy('_bots');
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
@@ -107,7 +107,7 @@ class acp_bots
|
||||
|
||||
$db->sql_transaction('commit');
|
||||
|
||||
$cache->destroy('bots');
|
||||
$cache->destroy('_bots');
|
||||
|
||||
add_log('admin', 'LOG_BOT_DELETE', implode(', ', $bot_name_ary));
|
||||
trigger_error($user->lang['BOT_DELETED'] . adm_back_link($this->u_action));
|
||||
@@ -250,7 +250,7 @@ class acp_bots
|
||||
$log = 'UPDATED';
|
||||
}
|
||||
|
||||
$cache->destroy('bots');
|
||||
$cache->destroy('_bots');
|
||||
|
||||
add_log('admin', 'LOG_BOT_' . $log, $bot_row['bot_name']);
|
||||
trigger_error($user->lang['BOT_' . $log] . adm_back_link($this->u_action . "&id=$bot_id&action=$action"));
|
||||
|
Reference in New Issue
Block a user