Skip to content
This repository
Browse code

MINOR Infinite cache

  • Loading branch information...
commit 652f0ec007c9b0a434f2b6fb76a88e92fa80a4ff 1 parent 796975f
Ingo Schommer authored December 04, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  i18n/i18n.php
2  i18n/i18n.php
@@ -1490,7 +1490,7 @@ static function _t($entity, $string = "", $priority = 40, $context = "") {
1490 1490
 	static function get_translators() {
1491 1491
 		if(!self::$translators) {
1492 1492
 			Zend_Translate::setCache(
1493  
-				SS_Cache::factory('i18n', 'Output', array('lifetime' => -1, 'automatic_serialization' => true))
  1493
+				SS_Cache::factory('i18n', 'Output', array('lifetime' => null, 'automatic_serialization' => true))
1494 1494
 			);
1495 1495
 			
1496 1496
 			$defaultPriority = 10;

0 notes on commit 652f0ec

Please sign in to comment.
Something went wrong with that request. Please try again.