Skip to content

Commit

Permalink
MINOR Infinite cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Apr 15, 2012
1 parent 796975f commit 652f0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/i18n.php
Expand Up @@ -1490,7 +1490,7 @@ static function _t($entity, $string = "", $priority = 40, $context = "") {
static function get_translators() { static function get_translators() {
if(!self::$translators) { if(!self::$translators) {
Zend_Translate::setCache( 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; $defaultPriority = 10;
Expand Down

0 comments on commit 652f0ec

Please sign in to comment.