Browse Source

Merge pull request #781 from Nao/release-2.1

- zend_shm_cache_fetch doesn't need a TTL parameter. (Load.php)
Michael Eshom 10 years ago
parent
commit
aa2681932d
1 changed files with 1 additions and 1 deletions
  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;