Skip to content

Commit

Permalink
[ticket/15726] Implement selective purge in APCu cache driver
Browse files Browse the repository at this point in the history
Edit comment

PHPBB3-15726
  • Loading branch information
v12mike authored and marc1706 committed Sep 16, 2018
1 parent 05587bd commit a4605c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/driver/apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class apcu extends \phpbb\cache\driver\memory
function purge()
{
/*
* Use an iterator to selectively clear our cache entries without disturbing
* 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 . '#'));
Expand Down

0 comments on commit a4605c2

Please sign in to comment.