diff options
Diffstat (limited to 'phpBB/phpbb/cache/driver/null.php')
| -rw-r--r-- | phpBB/phpbb/cache/driver/null.php | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/phpBB/phpbb/cache/driver/null.php b/phpBB/phpbb/cache/driver/null.php index a45cf97862..298731ea54 100644 --- a/phpBB/phpbb/cache/driver/null.php +++ b/phpBB/phpbb/cache/driver/null.php @@ -52,8 +52,10 @@ class null extends \phpbb\cache\driver\base  	*/  	function tidy()  	{ +		global $config; +  		// This cache always has a tidy room. -		set_config('cache_last_gc', time(), true); +		$config->set('cache_last_gc', time(), false);  	}  	/** | 
