Changeset 1740

Show
Ignore:
Timestamp:
04/03/08 00:50:08 (23 months ago)
Author:
bchoate
Message:

Set default cache interval to 30 when interval is unset. BugId:74671

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/CMS/Template.pm

    r1737 r1740  
    474474    } 
    475475 
     476    # if unset, default to 30 so if they choose to enable caching, 
     477    # it will be preset to something sane. 
     478    $param->{cache_expire_interval} ||= 30; 
     479 
    476480    $param->{dirty} = 1 
    477481        if $app->param('dirty');