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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 89c6a21468..f9fde6fcd0 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2118,10 +2118,10 @@ function remove_comments(&$output)
*/
function cache_moderators()
{
- global $db, $cache, $auth;
+ global $db, $auth;
// Remove cached sql results
- $cache->destroy('sql', MODERATOR_CACHE_TABLE);
+ phpbb::$acm->destroy_sql(MODERATOR_CACHE_TABLE);
// Clear table
if ($db->truncate)