summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-03 11:27:36 -1000
committerEvan Prodromou <evan@status.net>2010-01-03 11:27:36 -1000
commit07236058f41e87e1710eb4c4f4248ec26bff3e39 (patch)
tree16f695c9fcf7ff57a830639fb7779fc0015ece7e /plugins
parenteebc5d0d595e20f1ef9f8e7552f1067b7c58f53a (diff)
don't try to set an expiry for XCache
Diffstat (limited to 'plugins')
-rw-r--r--plugins/XCachePlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/XCachePlugin.php b/plugins/XCachePlugin.php
index 8011e659a..8eed12cbc 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));