Changeset 2168

Show
Ignore:
Timestamp:
04/30/08 23:04:42 (23 months ago)
Author:
bchoate
Message:

When checking for dynamic publishing options, just look at template/templateset publish options to determine if mtview.php needs creation/updating.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-37/lib/MT/CMS/Blog.pm

    r2127 r2168  
    18761876    $blog->include_cache( $app->param('include_cache') ? 1 : 0 ); 
    18771877    require MT::PublishOption; 
    1878     if ( ( $blog->custom_dynamic_templates eq 'all' 
    1879         || $blog->custom_dynamic_templates eq 'archives' ) 
    1880       && ( $app->model('template')->exist( 
     1878    if ( ( $app->model('template')->exist( 
    18811879            { blog_id => $blog->id, build_type => MT::PublishOption::DYNAMIC() }) 
    18821880        || $app->model('templatemap')->exist(