mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-31 10:26:23 +01:00
Use apcu_clear_cache
This commit is contained in:
@@ -1175,6 +1175,10 @@ function clearCache()
|
||||
if ($cache->fetch('last_kills', $tmp)) {
|
||||
$cache->delete('last_kills');
|
||||
}
|
||||
|
||||
if (function_exists('apcu_clear_cache')) {
|
||||
apcu_clear_cache();
|
||||
}
|
||||
}
|
||||
|
||||
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
||||
|
||||
Reference in New Issue
Block a user