Permalink
Browse files

MINOR Infinite cache

  • Loading branch information...
1 parent 796975f commit 652f0ec007c9b0a434f2b6fb76a88e92fa80a4ff @chillu chillu committed Dec 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 i18n/i18n.php
View
2 i18n/i18n.php
@@ -1490,7 +1490,7 @@ static function _t($entity, $string = "", $priority = 40, $context = "") {
static function get_translators() {
if(!self::$translators) {
Zend_Translate::setCache(
- SS_Cache::factory('i18n', 'Output', array('lifetime' => -1, 'automatic_serialization' => true))
+ SS_Cache::factory('i18n', 'Output', array('lifetime' => null, 'automatic_serialization' => true))
);
$defaultPriority = 10;

0 comments on commit 652f0ec

Please sign in to comment.