mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-25 22:30:15 +02:00
Move out of $cache->enabled
This commit is contained in:
parent
0f48f12e2e
commit
566c2a9151
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user