瀏覽代碼

Merge pull request #781 from Nao/release-2.1

- zend_shm_cache_fetch doesn't need a TTL parameter. (Load.php)
Michael Eshom 11 年之前
父節點
當前提交
aa2681932d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Load.php

+ 1 - 1
Sources/Load.php

@@ -2924,7 +2924,7 @@ function cache_get_data($key, $ttl = 120)
 		case 'zend':
 			// Zend's pricey stuff.
 			if (function_exists('zend_shm_cache_fetch'))
-				$value = zend_shm_cache_fetch('SMF::' . $key, $ttl);
+				$value = zend_shm_cache_fetch('SMF::' . $key);
 			elseif (function_exists('output_cache_get'))
 				$value = output_cache_get($key, $ttl);
 			break;