aboutsummaryrefslogtreecommitdiffstats
path: root/lib/simplepie/library/SimplePie/Cache/Redis.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2023-09-05 22:16:29 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2023-09-05 22:16:29 +0200
commit02b6ced8955cd5b773e958cd12f586b69933b84f (patch)
treeabc29dc6dae1babf44e18d28ba397dbc94285730 /lib/simplepie/library/SimplePie/Cache/Redis.php
parent4dc2c6193f1668d2bd6c9e7b4e6c9ccdcc6ac3a8 (diff)
downloadwww-02b6ced8955cd5b773e958cd12f586b69933b84f.tar
www-02b6ced8955cd5b773e958cd12f586b69933b84f.tar.gz
www-02b6ced8955cd5b773e958cd12f586b69933b84f.tar.bz2
www-02b6ced8955cd5b773e958cd12f586b69933b84f.tar.xz
www-02b6ced8955cd5b773e958cd12f586b69933b84f.zip
Update simplepie to try to fix mga#32236
Diffstat (limited to 'lib/simplepie/library/SimplePie/Cache/Redis.php')
-rw-r--r--lib/simplepie/library/SimplePie/Cache/Redis.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/simplepie/library/SimplePie/Cache/Redis.php b/lib/simplepie/library/SimplePie/Cache/Redis.php
index dbc88e829..82d759b01 100644
--- a/lib/simplepie/library/SimplePie/Cache/Redis.php
+++ b/lib/simplepie/library/SimplePie/Cache/Redis.php
@@ -152,7 +152,7 @@ class SimplePie_Cache_Redis implements SimplePie_Cache_Base {
if ($data !== false) {
$return = $this->cache->set($this->name, $data);
if ($this->options['expire']) {
- return $this->cache->expire($this->name, $this->ttl);
+ return $this->cache->expire($this->name, $this->options['expire']);
}
return $return;
}
@@ -170,3 +170,5 @@ class SimplePie_Cache_Redis implements SimplePie_Cache_Base {
}
}
+
+class_alias('SimplePie_Cache_Redis', 'SimplePie\Cache\Redis', false);