don't try to set an expiry for XCache

This commit is contained in:
Evan Prodromou 2010-01-03 11:27:36 -10:00
parent eebc5d0d59
commit 07236058f4

View File

@ -85,8 +85,7 @@ class XCachePlugin extends Plugin
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
{
$success = xcache_set($key, serialize($value),
(is_null($expiry) ? 0 : $expiry));
$success = xcache_set($key, serialize($value));
Event::handle('EndCacheSet', array($key, $value, $flag,
$expiry));