Update manage_admin.php

This commit is contained in:
Roman Kelesidis 2023-10-28 16:29:26 +07:00
parent df5ed816bf
commit 8d247815f7

View File

@ -15,10 +15,7 @@ switch ($mode)
foreach ($bb_cfg['cache']['engines'] as $cache_name => $cache_val) foreach ($bb_cfg['cache']['engines'] as $cache_name => $cache_val)
{ {
if (!in_array('sqlite', $cache_val) && !in_array('filecache', $cache_val)) CACHE($cache_name)->rm();
{
CACHE($cache_name)->rm();
}
} }
$this->response['cache_html'] = '<span class="seed bold">'. $lang['ALL_CACHE_CLEARED'] .'</span>'; $this->response['cache_html'] = '<span class="seed bold">'. $lang['ALL_CACHE_CLEARED'] .'</span>';