mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/13494] Update calls to set_config()
PHPBB3-13494
This commit is contained in:
5
phpBB/phpbb/cache/driver/memory.php
vendored
5
phpBB/phpbb/cache/driver/memory.php
vendored
@@ -81,9 +81,10 @@ abstract class memory extends \phpbb\cache\driver\base
|
||||
*/
|
||||
function tidy()
|
||||
{
|
||||
// cache has auto GC, no need to have any code here :)
|
||||
global $config;
|
||||
|
||||
set_config('cache_last_gc', time(), true);
|
||||
// cache has auto GC, no need to have any code here :)
|
||||
$config->set('cache_last_gc', time(), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user