mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Use apcu_clear_cache
This commit is contained in:
@@ -1263,6 +1263,10 @@ function clearCache()
|
||||
|
||||
global $db;
|
||||
$db->setClearCacheAfter(true);
|
||||
|
||||
if (function_exists('apcu_clear_cache')) {
|
||||
apcu_clear_cache();
|
||||
}
|
||||
}
|
||||
|
||||
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
||||
|
Reference in New Issue
Block a user