diff options
author | v12mike <github@ingenious.co.nz> | 2018-07-16 06:36:38 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-09-16 16:05:33 +0200 |
commit | 63a3033f15428b1af9a121708eb4a2bd4bef43c0 (patch) | |
tree | ea5e8f23944dae296cb1a18f199d0231f77e6b12 /phpBB/phpbb/cache/driver/apcu.php | |
parent | 02234783c6f0fd9b15faf7a17d3bb8b1d39da557 (diff) | |
download | forums-63a3033f15428b1af9a121708eb4a2bd4bef43c0.tar forums-63a3033f15428b1af9a121708eb4a2bd4bef43c0.tar.gz forums-63a3033f15428b1af9a121708eb4a2bd4bef43c0.tar.bz2 forums-63a3033f15428b1af9a121708eb4a2bd4bef43c0.tar.xz forums-63a3033f15428b1af9a121708eb4a2bd4bef43c0.zip |
[ticket/15726] Implement selective purge in APCu cache driver
Fix whitespace
PHPBB3-15726
Diffstat (limited to 'phpBB/phpbb/cache/driver/apcu.php')
-rwxr-xr-x | phpBB/phpbb/cache/driver/apcu.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/phpBB/phpbb/cache/driver/apcu.php b/phpBB/phpbb/cache/driver/apcu.php index 6a65e7155a..754fb1fce2 100755 --- a/phpBB/phpbb/cache/driver/apcu.php +++ b/phpBB/phpbb/cache/driver/apcu.php @@ -25,11 +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) */ - apcu_delete(new \APCUIterator('#^' . $this->key_prefix . '#')); - + /* 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(); } |