Upgrade to 3.5.1

This commit is contained in:
Bastian Allgeier
2021-01-19 12:20:38 +01:00
parent 8f55019e01
commit 99c36fa137
119 changed files with 2973 additions and 3707 deletions

View File

@@ -2,7 +2,7 @@
namespace Kirby\Cache;
use APCuIterator;
use APCUIterator;
/**
* APCu Cache Driver
@@ -35,7 +35,7 @@ class ApcuCache extends Cache
public function flush(): bool
{
if (empty($this->options['prefix']) === false) {
return apcu_delete(new APCuIterator('!^' . preg_quote($this->options['prefix']) . '!'));
return apcu_delete(new APCUIterator('!^' . preg_quote($this->options['prefix']) . '!'));
} else {
return apcu_clear_cache();
}