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