mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
Move out of $cache->enabled
This commit is contained in:
@@ -1263,10 +1263,10 @@ function clearCache()
|
|||||||
|
|
||||||
global $db;
|
global $db;
|
||||||
$db->setClearCacheAfter(true);
|
$db->setClearCacheAfter(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (function_exists('apcu_clear_cache')) {
|
if (function_exists('apcu_clear_cache')) {
|
||||||
apcu_clear_cache();
|
apcu_clear_cache();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
||||||
|
|||||||
Reference in New Issue
Block a user