diff options
Diffstat (limited to 'plugins/XCachePlugin.php')
-rw-r--r-- | plugins/XCachePlugin.php | 3 |
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)); |