Attempt to fix apcu test error
This commit is contained in:
parent
2bb9c1fb67
commit
7590184b5f
@ -135,7 +135,15 @@ class ApcuDriver extends AbstractDriver {
|
||||
*/
|
||||
public function flush(): bool
|
||||
{
|
||||
return \apcu_clear_cache();
|
||||
if (function_exists('apcu_clear_cache'))
|
||||
{
|
||||
return \apcu_clear_cache();
|
||||
}
|
||||
|
||||
if (function_exists('apc_clear_cache'))
|
||||
{
|
||||
return \apc_clear_cache();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user