aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/null.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-02-02 20:07:46 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-02-02 20:07:46 +0100
commitdf77174a2b2a8f9e86ee8f992556dd4820484be3 (patch)
tree3a83dabddd37c465de62e60bd2bcecf3c8a29474 /phpBB/phpbb/cache/driver/null.php
parent6e2838a4cabc6e7874ff1a72af2d3eb4f5361428 (diff)
parent79d4ff553844fa80be4da9286239f62a45489072 (diff)
downloadforums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.gz
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.bz2
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.xz
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.zip
Merge pull request #3280 from MGaetan89/ticket/13494
[ticket/13494] Change set_config() calls with $config->set() * MGaetan89/ticket/13494: [ticket/13494] Update calls to `set_config()`
Diffstat (limited to 'phpBB/phpbb/cache/driver/null.php')
-rw-r--r--phpBB/phpbb/cache/driver/null.php4
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);
}
/**