🐛 apc_clear_cache & opcache_reset can both be called

especially since not calling apc_clear_cache may result in invalid apcu entries...
This commit is contained in:
bruno DA SILVA
2019-12-04 10:39:30 +01:00
parent 4c3c5228aa
commit 1530b3f2ca

View File

@@ -171,7 +171,7 @@ class MFCompiler
// Zend opcode cache
opcache_reset();
}
else if (function_exists('apc_clear_cache'))
if (function_exists('apc_clear_cache'))
{
// old style APC
apc_clear_cache();