Changeset 988
- Timestamp:
- 12/27/06 07:48:33 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r987 r988 5720 5720 my $entry = MT::Entry->load($id, {cached_ok=>1}) or return $app->errtrans("One of the entries ([_1]) did not actually exist", $id); 5721 5721 next if $entry->status == $new_status; 5722 if ($app->config('DeleteFilesAtRebuild') && (MT::Entry::RELEASE() eq $entry->status)) { 5723 $app->publisher->remove_entry_archive_file( Entry => $entry ); 5724 } 5722 5725 $entry->status($new_status); 5723 5726 $entry->save() and $rebuild_these{$id} = 1; … … 12661 12664 Called by the draft_entries and publish_entries handlers to actually 12662 12665 apply the updates to the entries identified and republish pages that 12663 are necessary. 12666 are necessary. If DeleteFilesAtRebuild directive is set to 1, it also 12667 removes the previously published individual entry archive page if the 12668 new status for the entry is the one other than RELEASE. 12664 12669 12665 12670 =head1 CUSTOM REBUILD OPTIONS
