phpBB

Code Changes

File: phpbb/cache/driver/apcu.php

  Unmodified   Added   Modified   Removed
Line 25Line 25
	*/
function purge()
{

	*/
function purge()
{

		apcu_clear_cache();








		if (PHP_SAPI !== 'cli' || @ini_get('apc.enable_cli'))
{
/*
* 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();
}


parent::purge();
}