mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/13494] Update calls to set_config()
PHPBB3-13494
This commit is contained in:
4
phpBB/phpbb/cache/driver/file.php
vendored
4
phpBB/phpbb/cache/driver/file.php
vendored
@@ -95,7 +95,7 @@ class file extends \phpbb\cache\driver\base
|
||||
*/
|
||||
function tidy()
|
||||
{
|
||||
global $phpEx;
|
||||
global $config, $phpEx;
|
||||
|
||||
$dir = @opendir($this->cache_dir);
|
||||
|
||||
@@ -149,7 +149,7 @@ class file extends \phpbb\cache\driver\base
|
||||
}
|
||||
}
|
||||
|
||||
set_config('cache_last_gc', time(), true);
|
||||
$config->set('cache_last_gc', time(), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user