aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_main.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_main.php')
-rw-r--r--phpBB/includes/acp/acp_main.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php
index ca3ac20630..6a5c9c3050 100644
--- a/phpBB/includes/acp/acp_main.php
+++ b/phpBB/includes/acp/acp_main.php
@@ -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);