mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 23:20:22 +01:00
[ticket/15726] Implement selective purge in APCu
fix indentation of comment PHPBB3-15726
This commit is contained in:
parent
33268e5a72
commit
5edb330366
8
phpBB/phpbb/cache/driver/apcu.php
vendored
8
phpBB/phpbb/cache/driver/apcu.php
vendored
@ -25,10 +25,10 @@ class apcu extends \phpbb\cache\driver\memory
|
||||
*/
|
||||
function purge()
|
||||
{
|
||||
/*
|
||||
* Use an iterator to selectively delete our cache entries without disturbing
|
||||
* any other cache users (e.g. other phpBB boards hosted on this server)
|
||||
*/
|
||||
/*
|
||||
* Use an iterator to selectively delete 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 . '#'));
|
||||
|
||||
parent::purge();
|
||||
|
Loading…
x
Reference in New Issue
Block a user