don't try to set an expiry for XCache
This commit is contained in:
parent
eebc5d0d59
commit
07236058f4
@ -85,8 +85,7 @@ class XCachePlugin extends Plugin
|
|||||||
|
|
||||||
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
|
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
|
||||||
{
|
{
|
||||||
$success = xcache_set($key, serialize($value),
|
$success = xcache_set($key, serialize($value));
|
||||||
(is_null($expiry) ? 0 : $expiry));
|
|
||||||
|
|
||||||
Event::handle('EndCacheSet', array($key, $value, $flag,
|
Event::handle('EndCacheSet', array($key, $value, $flag,
|
||||||
$expiry));
|
$expiry));
|
||||||
|
Loading…
Reference in New Issue
Block a user