Skip to content

Commit

Permalink
Fix thinko: s/burn_another/publish_another/g
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jul 29, 2010
1 parent c9fd33a commit 3b0537c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions lib/Bric/Changes.pod
Expand Up @@ -76,6 +76,11 @@ The virtual FTP server no longer limits itself, but leaves resource limits to
the OS. This prevents apparently unrelated (and mysterious!) errors from the
FTP server. [Alex Krohn].

=item *

Fixed error message thrown by C<publish_another()> that incorrectly called
itself C<burn_another()>. [David]

=back

=head1 Version 2.0.0 (2010-04-12)
Expand Down
4 changes: 2 additions & 2 deletions lib/Bric/Util/Burner.pm
Expand Up @@ -1255,7 +1255,7 @@ sub publish {
my $repub = $ba->get_publish_status;

# Mark the story as published, so that other stories published by
# burn_another() can find it as published in the database.
# publish_another() can find it as published in the database.
$ba->set_publish_date($publish_date);
$ba->set_publish_status(1) unless $repub;
$ba->save;
Expand Down Expand Up @@ -1491,7 +1491,7 @@ sub publish_another {
throw_burn_error(
error => qq{Cannot publish $key "$uri" because it is checked out. }
. 'Your best bet is to pass `published_version => 1` when '
. 'looking up documents to pass to burn_another()',
. 'looking up documents to pass to publish_another()',
mode => $self->get_mode,
);
}
Expand Down

0 comments on commit 3b0537c

Please sign in to comment.