From: Evan Prodromou Date: Sun, 3 Jan 2010 21:27:36 +0000 (-1000) Subject: don't try to set an expiry for XCache X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07236058f41e87e1710eb4c4f4248ec26bff3e39;p=quix0rs-gnu-social.git don't try to set an expiry for XCache --- 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));