Changeset 965

Show
Ignore:
Timestamp:
12/21/06 00:39:03 (2 years ago)
Author:
bchoate
Message:

Update to allow both BuildIndexes and BuildDependencies to be specified (such that you can instruct to build sibling pages, but no the index pages). BugId: 39359

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/lib/MT/WeblogPublisher.pm

    r864 r965  
    260260    if ($param{BuildDependencies} || $param{BuildIndexes}) { 
    261261        ## Rebuild all indexes, in case this entry is on an index. 
    262         $mt->rebuild_indexes( Blog => $blog ) or return; 
     262        if (!(exists $param{BuildIndexes}) || $param{BuildIndexes}) { 
     263            $mt->rebuild_indexes( Blog => $blog ) or return; 
     264        } 
    263265    } 
    264266