Changeset 2337 for branches/release-38/lib/MT/Worker/Publish.pm
- Timestamp:
- 05/14/08 23:35:55 (19 months ago)
- Files:
-
- 1 modified
-
branches/release-38/lib/MT/Worker/Publish.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-38/lib/MT/Worker/Publish.pm
r2332 r2337 59 59 60 60 my $priority = $job->priority ? ", priority " . $job->priority : ""; 61 $job->debug("MT::Worker::Publish publishing " . $fi->file_path . "$priority");62 61 63 62 # Important: prevents requeuing! … … 82 81 } 83 82 84 ## MT::TheSchwartz->debug("Publishing: " . RebuildQueue::Daemon::_summary($fi));85 MT::TheSchwartz->debug("Publishing file " . $fi->file_path . "..."); 83 $job->debug("Publishing " . $fi->file_path . $priority); 84 86 85 my $res = $mt->publisher->rebuild_from_fileinfo($fi); 87 86 if (defined $res) { … … 96 95 $job->completed(); 97 96 } 98 # This is way too noisy and clutters the activity log99 # for active sites.100 # $mt->log({101 # ($fi->blog_id ? ( blog_id => $fi->blog_id ) : () ),102 # message => $mt->translate('Background Publishing Done'),103 # metadata => log_time() . ' '104 # . $mt->translate('Published: [_1]', $fi->file_path),105 # category => "publish",106 # level => MT::Log::INFO(),107 # });108 97 $rebuilt++; 109 98 } else {
