Explorar el Código

Merge pull request #781 from Nao/release-2.1

- zend_shm_cache_fetch doesn't need a TTL parameter. (Load.php)
Michael Eshom hace 11 años
padre
commit
aa2681932d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;