From 07236058f41e87e1710eb4c4f4248ec26bff3e39 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 3 Jan 2010 11:27:36 -1000 Subject: [PATCH] don't try to set an expiry for XCache --- plugins/XCachePlugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/XCachePlugin.php b/plugins/XCachePlugin.php index 8011e659ae..8eed12cbc9 100644 --- a/plugins/XCachePlugin.php +++ b/plugins/XCachePlugin.php @@ -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)); -- 2.39.5