mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-20 20:00:14 +02:00
Use apcu_clear_cache
This commit is contained in:
parent
c720ccc451
commit
b329da52aa
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user