diff options
author | v12mike <github@ingenious.co.nz> | 2018-07-25 19:36:25 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-09-16 16:05:46 +0200 |
commit | bf9af922208ad93c2afbe4fa9462f8914c8d4363 (patch) | |
tree | 8a36e0f7cfe4f4e0fef28b8d24fb306c84d8f129 /phpBB/phpbb/cache | |
parent | 7d4d9770cfc38d613c3cf2b8495d2f8e63623ebd (diff) | |
download | forums-bf9af922208ad93c2afbe4fa9462f8914c8d4363.tar forums-bf9af922208ad93c2afbe4fa9462f8914c8d4363.tar.gz forums-bf9af922208ad93c2afbe4fa9462f8914c8d4363.tar.bz2 forums-bf9af922208ad93c2afbe4fa9462f8914c8d4363.tar.xz forums-bf9af922208ad93c2afbe4fa9462f8914c8d4363.zip |
[ticket/15726] Implement selective purge in APCu cache driver
Correcting code formatting and whitespace
PHPBB3-15726
Diffstat (limited to 'phpBB/phpbb/cache')
-rw-r--r-- | phpBB/phpbb/cache/driver/apcu.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/phpbb/cache/driver/apcu.php b/phpBB/phpbb/cache/driver/apcu.php index 754fb1fce2..e40d5a376c 100644 --- a/phpBB/phpbb/cache/driver/apcu.php +++ b/phpBB/phpbb/cache/driver/apcu.php @@ -25,9 +25,10 @@ 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 . '#')); parent::purge(); |