Show
Ignore:
Timestamp:
04/05/08 01:31:43 (20 months ago)
Author:
bchoate
Message:

Changes to update type-based touches prior to any rebuilding. Added 'pre_build', 'post_build' callbacks that wrap entire build process (pre_build is called at start of multi-request build process; post_build is called at the end). Added a total publish time message at end of build process. BugId:74814

Files:
1 modified

Legend:

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

    r1746 r1778  
    13881388            my $res = MT::Util::start_background_task( 
    13891389                sub { 
     1390                    $app->run_callbacks('pre_build'); 
    13901391                    $app->rebuild_entry( 
    13911392                        Entry             => $obj, 
     
    13981399                    ) or return $app->publish_error(); 
    13991400                    $app->run_callbacks( 'rebuild', $blog ); 
     1401                    $app->run_callbacks( 'post_build' ); 
    14001402                    1; 
    14011403                }