aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/eaccelerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/cache/driver/eaccelerator.php')
-rw-r--r--phpBB/phpbb/cache/driver/eaccelerator.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/cache/driver/eaccelerator.php b/phpBB/phpbb/cache/driver/eaccelerator.php
index 1697758acc..740855144f 100644
--- a/phpBB/phpbb/cache/driver/eaccelerator.php
+++ b/phpBB/phpbb/cache/driver/eaccelerator.php
@@ -44,9 +44,11 @@ class eaccelerator extends \phpbb\cache\driver\memory
*/
function tidy()
{
+ global $config;
+
eaccelerator_gc();
- set_config('cache_last_gc', time(), true);
+ $config->set('cache_last_gc', time(), false);
}
/**