aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/diff/engine.php
diff options
context:
space:
mode:
authorJagoba Los Arcos <moledj@moledj.com>2017-08-13 22:49:24 +0200
committerGitHub <noreply@github.com>2017-08-13 22:49:24 +0200
commita6c9119dfa1cf812292fffe1131f3b9f3bfebfc7 (patch)
treed2946910d5c8656e1f9915326babd997593ad6f1 /phpBB/includes/diff/engine.php
parent1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff)
downloadforums-a6c9119dfa1cf812292fffe1131f3b9f3bfebfc7.tar
forums-a6c9119dfa1cf812292fffe1131f3b9f3bfebfc7.tar.gz
forums-a6c9119dfa1cf812292fffe1131f3b9f3bfebfc7.tar.bz2
forums-a6c9119dfa1cf812292fffe1131f3b9f3bfebfc7.tar.xz
forums-a6c9119dfa1cf812292fffe1131f3b9f3bfebfc7.zip
[ticket/15320] Redis cache does not save keys withouth expiration
In some functions like sql_save in cache/memory.php, code try to save a key/value in cache with ttl = 0 so key should never expire. In current redis.php cache driver, it fails so key never get cached. This cause for example that when you create a subforum, it not appear in the forum box in the admincp. To solve, if ttl is 0, we use redis->set instead of setex
Diffstat (limited to 'phpBB/includes/diff/engine.php')
0 files changed, 0 insertions, 0 deletions