aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/apcu.php
diff options
context:
space:
mode:
authorv12mike <github@ingenious.co.nz>2018-07-16 06:36:38 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-09-16 16:05:33 +0200
commit63a3033f15428b1af9a121708eb4a2bd4bef43c0 (patch)
treeea5e8f23944dae296cb1a18f199d0231f77e6b12 /phpBB/phpbb/cache/driver/apcu.php
parent02234783c6f0fd9b15faf7a17d3bb8b1d39da557 (diff)
downloadforums-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-xphpBB/phpbb/cache/driver/apcu.php9
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();
}