git-svn-id: file:///svn/phpbb/trunk@8303 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2008-01-04 19:54:24 +00:00
parent f14f82775f
commit 3b29db4545
3 changed files with 3 additions and 0 deletions

View file

@ -480,6 +480,7 @@ class acp_icons
if ($db->truncate)
{
$db->sql_query('TRUNCATE TABLE ' . $table);
}
else
{
$db->sql_query('DELETE FROM ' . $table);

View file

@ -205,6 +205,7 @@ class acp_main
if ($db->truncate)
{
$db->sql_query('TRUNCATE TABLE ' . TOPICS_POSTED_TABLE);
}
else
{
$db->sql_query('DELETE FROM ' . TOPICS_POSTED_TABLE);

View file

@ -2164,6 +2164,7 @@ function cache_moderators()
if ($db->truncate)
{
$db->sql_query('TRUNCATE TABLE ' . MODERATOR_CACHE_TABLE);
}
else
{
$db->sql_query('DELETE FROM ' . MODERATOR_CACHE_TABLE);