mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/15726] Implement selective purge in APCu cache driver
Fix whitespace PHPBB3-15726
This commit is contained in:
parent
bf9af92220
commit
7f1f64b1dc
1 changed files with 3 additions and 3 deletions
4
phpBB/phpbb/cache/driver/apcu.php
vendored
4
phpBB/phpbb/cache/driver/apcu.php
vendored
|
@ -26,8 +26,8 @@ class apcu extends \phpbb\cache\driver\memory
|
|||
function purge()
|
||||
{
|
||||
/*
|
||||
Use an iterator to selectively clear our cache entries without disturbing
|
||||
any other cache users (e.g. other phpBB boards hosted on this server)
|
||||
* Use an iterator to selectively clear our cache entries without disturbing
|
||||
* any other cache users (e.g. other phpBB boards hosted on this server)
|
||||
*/
|
||||
apcu_delete(new \APCUIterator('#^' . $this->key_prefix . '#'));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue